|
@@ -1117,6 +1117,8 @@ ath5k_mode_setup(struct ath5k_softc *sc)
|
|
|
struct ath5k_hw *ah = sc->ah;
|
|
struct ath5k_hw *ah = sc->ah;
|
|
|
u32 rfilt;
|
|
u32 rfilt;
|
|
|
|
|
|
|
|
|
|
+ ah->ah_op_mode = sc->opmode;
|
|
|
|
|
+
|
|
|
/* configure rx filter */
|
|
/* configure rx filter */
|
|
|
rfilt = sc->filter_flags;
|
|
rfilt = sc->filter_flags;
|
|
|
ath5k_hw_set_rx_filter(ah, rfilt);
|
|
ath5k_hw_set_rx_filter(ah, rfilt);
|
|
@@ -2768,6 +2770,7 @@ static int ath5k_add_interface(struct ieee80211_hw *hw,
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
ath5k_hw_set_lladdr(sc->ah, conf->mac_addr);
|
|
ath5k_hw_set_lladdr(sc->ah, conf->mac_addr);
|
|
|
|
|
+ ath5k_mode_setup(sc);
|
|
|
|
|
|
|
|
ret = 0;
|
|
ret = 0;
|
|
|
end:
|
|
end:
|