diff options
author | Oleksij Rempel <linux@rempel-privat.de> | 2014-01-15 17:07:16 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-01-16 14:55:45 -0500 |
commit | aeb0e356ec6e0d11b8369bbbb32ae81b92a1a46b (patch) | |
tree | d5cc4e1acd01598a926e69f2926df2a1b18278f3 /drivers/net/wireless/ath/ath9k/htc_drv_txrx.c | |
parent | 1cc47a5b2417b319d022d8aa995888d791b1eee1 (diff) | |
download | linux-aeb0e356ec6e0d11b8369bbbb32ae81b92a1a46b.tar.gz linux-aeb0e356ec6e0d11b8369bbbb32ae81b92a1a46b.tar.bz2 linux-aeb0e356ec6e0d11b8369bbbb32ae81b92a1a46b.zip |
ath9k_htc: use ath_is_mybeacon
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_txrx.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_txrx.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c index b41e008298dc..12e0f32a4905 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c @@ -1075,9 +1075,7 @@ static bool ath9k_rx_prepare(struct ath9k_htc_priv *priv, last_rssi = priv->rx.last_rssi; - if (ieee80211_is_beacon(hdr->frame_control) && - !is_zero_ether_addr(common->curbssid) && - ether_addr_equal_64bits(hdr->addr3, common->curbssid)) { + if (ath_is_mybeacon(common, hdr)) { s8 rssi = rxbuf->rxstatus.rs_rssi; if (likely(last_rssi != ATH_RSSI_DUMMY_MARKER)) |