AA: mac80211: backport package from trunk r39886
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 410-ath9k_allow_adhoc_and_ap.patch
1 --- a/drivers/net/wireless/ath/ath9k/init.c
2 +++ b/drivers/net/wireless/ath/ath9k/init.c
3 @@ -866,6 +866,7 @@ static const struct ieee80211_iface_limi
4 #endif
5 BIT(NL80211_IFTYPE_AP) |
6 BIT(NL80211_IFTYPE_P2P_GO) },
7 + { .max = 1, .types = BIT(NL80211_IFTYPE_ADHOC) },
8 };
9
10 static const struct ieee80211_iface_limit if_dfs_limits[] = {