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 | 8f9824ccf45be2f694ec11ff0e20cac8e06bdbc8 (patch) | |
tree | 3bcd4626d608884084d35fa1fc0f86ba3d83f409 /package/mac80211/patches/411-ath5k_allow_adhoc_and_ap.patch | |
parent | 6d6cf8ec3baca8077add9862f65bca0626c128ce (diff) | |
download | upstream-8f9824ccf45be2f694ec11ff0e20cac8e06bdbc8.tar.gz upstream-8f9824ccf45be2f694ec11ff0e20cac8e06bdbc8.tar.bz2 upstream-8f9824ccf45be2f694ec11ff0e20cac8e06bdbc8.zip |
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/411-ath5k_allow_adhoc_and_ap.patch')
-rw-r--r-- | package/mac80211/patches/411-ath5k_allow_adhoc_and_ap.patch | 10 |
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) }, }; |