diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index 7db32ce3dbd8..55ee976ab6d7 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c | |||
@@ -1117,6 +1117,8 @@ ath5k_mode_setup(struct ath5k_softc *sc) | |||
1117 | struct ath5k_hw *ah = sc->ah; | 1117 | struct ath5k_hw *ah = sc->ah; |
1118 | u32 rfilt; | 1118 | u32 rfilt; |
1119 | 1119 | ||
1120 | ah->ah_op_mode = sc->opmode; | ||
1121 | |||
1120 | /* configure rx filter */ | 1122 | /* configure rx filter */ |
1121 | rfilt = sc->filter_flags; | 1123 | rfilt = sc->filter_flags; |
1122 | ath5k_hw_set_rx_filter(ah, rfilt); | 1124 | ath5k_hw_set_rx_filter(ah, rfilt); |
@@ -2768,6 +2770,7 @@ static int ath5k_add_interface(struct ieee80211_hw *hw, | |||
2768 | } | 2770 | } |
2769 | 2771 | ||
2770 | ath5k_hw_set_lladdr(sc->ah, conf->mac_addr); | 2772 | ath5k_hw_set_lladdr(sc->ah, conf->mac_addr); |
2773 | ath5k_mode_setup(sc); | ||
2771 | 2774 | ||
2772 | ret = 0; | 2775 | ret = 0; |
2773 | end: | 2776 | end: |