aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath5k/base.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath5k/base.c')
-rw-r--r--drivers/net/wireless/ath5k/base.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath5k/base.c b/drivers/net/wireless/ath5k/base.c
index c7ffcbb9062d..34cd1a4a297f 100644
--- a/drivers/net/wireless/ath5k/base.c
+++ b/drivers/net/wireless/ath5k/base.c
@@ -2219,9 +2219,9 @@ ath5k_init(struct ath5k_softc *sc, bool is_resume)
2219 */ 2219 */
2220 sc->curchan = sc->hw->conf.channel; 2220 sc->curchan = sc->hw->conf.channel;
2221 sc->curband = &sc->sbands[sc->curchan->band]; 2221 sc->curband = &sc->sbands[sc->curchan->band];
2222 sc->imask = AR5K_INT_RXOK | AR5K_INT_TXOK | AR5K_INT_RXEOL | 2222 sc->imask = AR5K_INT_RXOK | AR5K_INT_RXERR | AR5K_INT_RXEOL |
2223 AR5K_INT_RXORN | AR5K_INT_FATAL | AR5K_INT_GLOBAL | 2223 AR5K_INT_RXORN | AR5K_INT_TXDESC | AR5K_INT_TXEOL |
2224 AR5K_INT_MIB; 2224 AR5K_INT_FATAL | AR5K_INT_GLOBAL | AR5K_INT_MIB;
2225 ret = ath5k_reset(sc, false, false); 2225 ret = ath5k_reset(sc, false, false);
2226 if (ret) 2226 if (ret)
2227 goto done; 2227 goto done;
@@ -2953,9 +2953,9 @@ static void ath5k_configure_filter(struct ieee80211_hw *hw,
2953 test_bit(ATH_STAT_PROMISC, sc->status)) 2953 test_bit(ATH_STAT_PROMISC, sc->status))
2954 rfilt |= AR5K_RX_FILTER_PROM; 2954 rfilt |= AR5K_RX_FILTER_PROM;
2955 if (sc->opmode == NL80211_IFTYPE_STATION || 2955 if (sc->opmode == NL80211_IFTYPE_STATION ||
2956 sc->opmode == NL80211_IFTYPE_ADHOC) { 2956 sc->opmode == NL80211_IFTYPE_ADHOC ||
2957 sc->opmode == NL80211_IFTYPE_AP)
2957 rfilt |= AR5K_RX_FILTER_BEACON; 2958 rfilt |= AR5K_RX_FILTER_BEACON;
2958 }
2959 if (sc->opmode == NL80211_IFTYPE_MESH_POINT) 2959 if (sc->opmode == NL80211_IFTYPE_MESH_POINT)
2960 rfilt |= AR5K_RX_FILTER_CONTROL | AR5K_RX_FILTER_BEACON | 2960 rfilt |= AR5K_RX_FILTER_CONTROL | AR5K_RX_FILTER_BEACON |
2961 AR5K_RX_FILTER_PROBEREQ | AR5K_RX_FILTER_PROM; 2961 AR5K_RX_FILTER_PROBEREQ | AR5K_RX_FILTER_PROM;