summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-04-17 00:05:41 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-04-17 00:05:41 +0000
commit442b9d46bb8bb06c9c9ee1fb16cb2bb7398fd430 (patch)
tree3bcd4626d608884084d35fa1fc0f86ba3d83f409 /package/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch
parentecbadaac0e933f455a1b7cf9eef7c06c252f6a4e (diff)
ath9k/ath5k: fix driver load issues with mesh support compiled out
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31326 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch')
-rw-r--r--package/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch b/package/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch
index 6e9e5ef87..d23edd3b8 100644
--- a/package/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch
+++ b/package/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch
@@ -34,11 +34,11 @@
if (sc->nbcnvifs >= ATH_BCBUF) {
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
-@@ -653,6 +653,7 @@ static const struct ieee80211_iface_limi
- BIT(NL80211_IFTYPE_WDS) },
- { .max = 8, .types = BIT(NL80211_IFTYPE_AP) |
- BIT(NL80211_IFTYPE_P2P_GO) |
+@@ -655,6 +655,7 @@ static const struct ieee80211_iface_limi
+ #ifdef CONFIG_MAC80211_MESH
+ BIT(NL80211_IFTYPE_MESH_POINT) |
+ #endif
+ BIT(NL80211_IFTYPE_ADHOC) |
- BIT(NL80211_IFTYPE_MESH_POINT) },
+ BIT(NL80211_IFTYPE_AP) |
+ BIT(NL80211_IFTYPE_P2P_GO) },
};
-