mac80211: update to wireless-testing 2016-05-12
[openwrt/staging/yousong.git] / package / kernel / 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 @@ -728,6 +728,7 @@ static const struct ieee80211_iface_limi
4 BIT(NL80211_IFTYPE_AP) },
5 { .max = 1, .types = BIT(NL80211_IFTYPE_P2P_CLIENT) |
6 BIT(NL80211_IFTYPE_P2P_GO) },
7 + { .max = 1, .types = BIT(NL80211_IFTYPE_ADHOC) },
8 };
9
10 static const struct ieee80211_iface_limit wds_limits[] = {