openwrtv3/package/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch
Felix Fietkau 532aee10fd ath9k: improve AP mode powersave buffering handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36824
2013-06-03 14:15:52 +00:00

10 lines
284 B
Diff

--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -733,6 +733,7 @@ static const struct ieee80211_iface_limi
#endif
BIT(NL80211_IFTYPE_AP) |
BIT(NL80211_IFTYPE_P2P_GO) },
+ { .max = 1, .types = BIT(NL80211_IFTYPE_ADHOC) },
};