X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=package%2Fmac80211%2Fpatches%2F571-ath9k_fix_beacon_config_mode.patch;fp=package%2Fmac80211%2Fpatches%2F571-ath9k_fix_beacon_config_mode.patch;h=4ba74f86dcee191dc9d62efbab6e3f00dcb71f3d;hp=0000000000000000000000000000000000000000;hb=a9749642ac070f58ee1fa061bd85ba88ec0d0542;hpb=b8d3e12e145425f69aff6f2bf8c41140b14c0215 diff --git a/package/mac80211/patches/571-ath9k_fix_beacon_config_mode.patch b/package/mac80211/patches/571-ath9k_fix_beacon_config_mode.patch new file mode 100644 index 000000000..4ba74f86d --- /dev/null +++ b/package/mac80211/patches/571-ath9k_fix_beacon_config_mode.patch @@ -0,0 +1,11 @@ +--- 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;