ath9k: add stability fixes for long standing hang issues (FS#13, #34, #373, #383)
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / 410-ath9k_allow_adhoc_and_ap.patch
index 909a5f104d056d5cc431a37ae45da5f304ee03af..1d3e4bea133589372840af7c3e95b47ae578305d 100644 (file)
@@ -1,10 +1,10 @@
 --- a/drivers/net/wireless/ath/ath9k/init.c
 +++ b/drivers/net/wireless/ath/ath9k/init.c
-@@ -652,6 +652,7 @@ static const struct ieee80211_iface_limi
- #endif
-                                BIT(NL80211_IFTYPE_AP) |
+@@ -777,6 +777,7 @@ static const struct ieee80211_iface_limi
+                                BIT(NL80211_IFTYPE_AP) },
+       { .max = 1,     .types = BIT(NL80211_IFTYPE_P2P_CLIENT) |
                                 BIT(NL80211_IFTYPE_P2P_GO) },
 +      { .max = 1,     .types = BIT(NL80211_IFTYPE_ADHOC) },
  };
  
- static const struct ieee80211_iface_limit if_dfs_limits[] = {
+ static const struct ieee80211_iface_limit wds_limits[] = {