aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/411-ath5k_allow_adhoc_and_ap.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-04-17 00:05:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-04-17 00:05:41 +0000
commitd7fee0b596793b5f3ac9059e115b625a7f2ff7d0 (patch)
tree2eba8076f093374367cd5df3a8c1bf778c94250c /package/mac80211/patches/411-ath5k_allow_adhoc_and_ap.patch
parentb138bca2908456bf7f7a90089e42efd3e8a05c48 (diff)
downloadupstream-d7fee0b596793b5f3ac9059e115b625a7f2ff7d0.tar.gz
upstream-d7fee0b596793b5f3ac9059e115b625a7f2ff7d0.tar.bz2
upstream-d7fee0b596793b5f3ac9059e115b625a7f2ff7d0.zip
ath9k/ath5k: fix driver load issues with mesh support compiled out
SVN-Revision: 31326
Diffstat (limited to 'package/mac80211/patches/411-ath5k_allow_adhoc_and_ap.patch')
-rw-r--r--package/mac80211/patches/411-ath5k_allow_adhoc_and_ap.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/mac80211/patches/411-ath5k_allow_adhoc_and_ap.patch b/package/mac80211/patches/411-ath5k_allow_adhoc_and_ap.patch
index 410e6bca1b..ab8d6dcfef 100644
--- a/package/mac80211/patches/411-ath5k_allow_adhoc_and_ap.patch
+++ b/package/mac80211/patches/411-ath5k_allow_adhoc_and_ap.patch
@@ -36,11 +36,11 @@
intval /= ATH_BCBUF; /* staggered multi-bss beacons */
if (intval < 15)
ATH5K_WARN(ah, "intval %u is too low, min 15\n",
-@@ -2419,6 +2419,7 @@ ath5k_tx_complete_poll_work(struct work_
- static const struct ieee80211_iface_limit if_limits[] = {
- { .max = 256, .types = BIT(NL80211_IFTYPE_STATION) },
- { .max = 4, .types = BIT(NL80211_IFTYPE_AP) |
+@@ -2422,6 +2422,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) },
};