diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-04-17 00:05:41 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-04-17 00:05:41 +0000 |
commit | d7fee0b596793b5f3ac9059e115b625a7f2ff7d0 (patch) | |
tree | 2eba8076f093374367cd5df3a8c1bf778c94250c /package/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch | |
parent | b138bca2908456bf7f7a90089e42efd3e8a05c48 (diff) | |
download | mtk-20170518-d7fee0b596793b5f3ac9059e115b625a7f2ff7d0.zip mtk-20170518-d7fee0b596793b5f3ac9059e115b625a7f2ff7d0.tar.gz mtk-20170518-d7fee0b596793b5f3ac9059e115b625a7f2ff7d0.tar.bz2 |
ath9k/ath5k: fix driver load issues with mesh support compiled out
SVN-Revision: 31326
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.patch | 12 |
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 6e9e5ef..d23edd3 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) }, }; - |