block-mount: Reverting 26503. Was already fixed in a better way in commit 26474.
[openwrt/staging/chunkeey.git] / package / mac80211 / patches / 571-ath9k_fix_beacon_config_mode.patch
1 --- a/drivers/net/wireless/ath/ath9k/beacon.c
2 +++ b/drivers/net/wireless/ath/ath9k/beacon.c
3 @@ -700,7 +700,7 @@ void ath_beacon_config(struct ath_softc
4 if (cur_conf->dtim_period == 0)
5 cur_conf->dtim_period = 1;
6
7 - switch (iftype) {
8 + switch (sc->sc_ah->opmode) {
9 case NL80211_IFTYPE_AP:
10 ath_beacon_config_ap(sc, cur_conf);
11 break;