mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 16:49:22 +00:00
b43: Remove deprecated 'qual' from returned RX status
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>
This commit is contained in:
parent
77c8258ff7
commit
c1b84ab059
2 changed files with 0 additions and 3 deletions
|
@ -26,8 +26,6 @@
|
||||||
# define B43_DEBUG 0
|
# define B43_DEBUG 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define B43_RX_MAX_SSI 60
|
|
||||||
|
|
||||||
/* MMIO offsets */
|
/* MMIO offsets */
|
||||||
#define B43_MMIO_DMA0_REASON 0x20
|
#define B43_MMIO_DMA0_REASON 0x20
|
||||||
#define B43_MMIO_DMA0_IRQ_MASK 0x24
|
#define B43_MMIO_DMA0_IRQ_MASK 0x24
|
||||||
|
|
|
@ -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_OFDM),
|
||||||
(phystat0 & B43_RX_PHYST0_GAINCTL),
|
(phystat0 & B43_RX_PHYST0_GAINCTL),
|
||||||
(phystat3 & B43_RX_PHYST3_TRSTATE));
|
(phystat3 & B43_RX_PHYST3_TRSTATE));
|
||||||
status.qual = (rxhdr->jssi * 100) / B43_RX_MAX_SSI;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (phystat0 & B43_RX_PHYST0_OFDM)
|
if (phystat0 & B43_RX_PHYST0_OFDM)
|
||||||
|
|
Loading…
Reference in a new issue