mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-23 08:09:22 +07:00
ath9k_htc: use ath_is_mybeacon
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
1cc47a5b24
commit
aeb0e356ec
@ -1075,9 +1075,7 @@ static bool ath9k_rx_prepare(struct ath9k_htc_priv *priv,
|
|||||||
|
|
||||||
last_rssi = priv->rx.last_rssi;
|
last_rssi = priv->rx.last_rssi;
|
||||||
|
|
||||||
if (ieee80211_is_beacon(hdr->frame_control) &&
|
if (ath_is_mybeacon(common, hdr)) {
|
||||||
!is_zero_ether_addr(common->curbssid) &&
|
|
||||||
ether_addr_equal_64bits(hdr->addr3, common->curbssid)) {
|
|
||||||
s8 rssi = rxbuf->rxstatus.rs_rssi;
|
s8 rssi = rxbuf->rxstatus.rs_rssi;
|
||||||
|
|
||||||
if (likely(last_rssi != ATH_RSSI_DUMMY_MARKER))
|
if (likely(last_rssi != ATH_RSSI_DUMMY_MARKER))
|
||||||
|
Loading…
Reference in New Issue
Block a user