aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/recv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath9k/recv.c')
-rw-r--r--drivers/net/wireless/ath9k/recv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath9k/recv.c b/drivers/net/wireless/ath9k/recv.c
index 8e14e643e99..2fe806175c0 100644
--- a/drivers/net/wireless/ath9k/recv.c
+++ b/drivers/net/wireless/ath9k/recv.c
@@ -478,7 +478,7 @@ static void ath_opmode_init(struct ath_softc *sc)
478 ath9k_hw_setrxfilter(ah, rfilt); 478 ath9k_hw_setrxfilter(ah, rfilt);
479 479
480 /* configure bssid mask */ 480 /* configure bssid mask */
481 if (ah->ah_caps.halBssIdMaskSupport) 481 if (ah->ah_caps.hw_caps & ATH9K_HW_CAP_BSSIDMASK)
482 ath9k_hw_setbssidmask(ah, sc->sc_bssidmask); 482 ath9k_hw_setbssidmask(ah, sc->sc_bssidmask);
483 483
484 /* configure operational mode */ 484 /* configure operational mode */
@@ -1018,7 +1018,7 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush)
1018 PCI_DMA_FROMDEVICE); 1018 PCI_DMA_FROMDEVICE);
1019 1019
1020 /* XXX: Ah! make me more readable, use a helper */ 1020 /* XXX: Ah! make me more readable, use a helper */
1021 if (ah->ah_caps.halHTSupport) { 1021 if (ah->ah_caps.hw_caps & ATH9K_HW_CAP_HT) {
1022 if (ds->ds_rxstat.rs_moreaggr == 0) { 1022 if (ds->ds_rxstat.rs_moreaggr == 0) {
1023 rx_status.rssictl[0] = 1023 rx_status.rssictl[0] =
1024 ds->ds_rxstat.rs_rssi_ctl0; 1024 ds->ds_rxstat.rs_rssi_ctl0;