b43: Remove deprecated 'qual' from returned RX status
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 5 Nov 2009 06:08:59 +0000 (00:08 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 6 Nov 2009 21:49:09 +0000 (16:49 -0500)
With the deprecation of the qual member of ieee80211_rx_status, that
calculation and an associated constant can be removed.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/b43.h
drivers/net/wireless/b43/xmit.c

index 65b23f7..fe3bf94 100644 (file)
@@ -26,8 +26,6 @@
 # define B43_DEBUG     0
 #endif
 
-#define B43_RX_MAX_SSI                 60
-
 /* MMIO offsets */
 #define B43_MMIO_DMA0_REASON           0x20
 #define B43_MMIO_DMA0_IRQ_MASK         0x24
index 7a5e294..eda0652 100644 (file)
@@ -621,7 +621,6 @@ void b43_rx(struct b43_wldev *dev, struct sk_buff *skb, const void *_rxhdr)
                                                  (phystat0 & B43_RX_PHYST0_OFDM),
                                                  (phystat0 & B43_RX_PHYST0_GAINCTL),
                                                  (phystat3 & B43_RX_PHYST3_TRSTATE));
-               status.qual = (rxhdr->jssi * 100) / B43_RX_MAX_SSI;
        }
 
        if (phystat0 & B43_RX_PHYST0_OFDM)