mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-03 23:14:03 +02:00
a9749642ac
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@26396 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
345 B
Diff
12 lines
345 B
Diff
--- a/drivers/net/wireless/ath/ath9k/beacon.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/beacon.c
|
|
@@ -700,7 +700,7 @@ void ath_beacon_config(struct ath_softc
|
|
if (cur_conf->dtim_period == 0)
|
|
cur_conf->dtim_period = 1;
|
|
|
|
- switch (iftype) {
|
|
+ switch (sc->sc_ah->opmode) {
|
|
case NL80211_IFTYPE_AP:
|
|
ath_beacon_config_ap(sc, cur_conf);
|
|
break;
|