]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
b43legacy: Remove deprecated 'qual' from returned RX status
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 5 Nov 2009 06:09:15 +0000 (00:09 -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/b43legacy/b43legacy.h
drivers/net/wireless/b43legacy/xmit.c

index 038baa8869e233e038ca97b2919d0954f485d5ec..89fe2f972c727913b06c2474fe24b04bc92b735c 100644 (file)
@@ -29,8 +29,6 @@
 
 #define B43legacy_IRQWAIT_MAX_RETRIES  20
 
-#define B43legacy_RX_MAX_SSI           60 /* best guess at max ssi */
-
 /* MMIO offsets */
 #define B43legacy_MMIO_DMA0_REASON     0x20
 #define B43legacy_MMIO_DMA0_IRQ_MASK   0x24
index 103f3c9e7f58afd00299a155dca245c12ddd5b26..9c8882d9275edf203ee11a4c975d9c6d815d4ee1 100644 (file)
@@ -549,7 +549,6 @@ void b43legacy_rx(struct b43legacy_wldev *dev,
                                      (phystat0 & B43legacy_RX_PHYST0_GAINCTL),
                                      (phystat3 & B43legacy_RX_PHYST3_TRSTATE));
        status.noise = dev->stats.link_noise;
-       status.qual = (jssi * 100) / B43legacy_RX_MAX_SSI;
        /* change to support A PHY */
        if (phystat0 & B43legacy_RX_PHYST0_OFDM)
                status.rate_idx = b43legacy_plcp_get_bitrate_idx_ofdm(plcp, false);