aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/411-ath5k_allow_adhoc_and_ap.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-12-07 16:46:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-12-07 16:46:04 +0000
commit6ec11910ca5abfb3d646d15ca11e1c7ed48cfc3e (patch)
treee53928d7ac5004a755b1a8455945a93fa17386dc /package/mac80211/patches/411-ath5k_allow_adhoc_and_ap.patch
parent104526605c12d4e37b9bf2aab92baf3f79addb4c (diff)
downloadmaster-187ad058-6ec11910ca5abfb3d646d15ca11e1c7ed48cfc3e.tar.gz
master-187ad058-6ec11910ca5abfb3d646d15ca11e1c7ed48cfc3e.tar.bz2
master-187ad058-6ec11910ca5abfb3d646d15ca11e1c7ed48cfc3e.zip
mac80211: update to wireless-testing 2012-12-06
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34571 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.patch8
1 files changed, 4 insertions, 4 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 b515e28a68..4f66aca736 100644
--- a/package/mac80211/patches/411-ath5k_allow_adhoc_and_ap.patch
+++ b/package/mac80211/patches/411-ath5k_allow_adhoc_and_ap.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/wireless/ath/ath5k/mac80211-ops.c
+++ b/drivers/net/wireless/ath/ath5k/mac80211-ops.c
-@@ -89,13 +89,8 @@ ath5k_add_interface(struct ieee80211_hw
+@@ -89,13 +89,8 @@ ath5k_add_interface(struct ieee80211_hw
goto end;
}
@@ -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",
-@@ -2427,6 +2427,7 @@ static const struct ieee80211_iface_limi
- #ifdef CONFIG_MAC80211_MESH
+@@ -2428,6 +2428,7 @@ static const struct ieee80211_iface_limi
BIT(NL80211_IFTYPE_MESH_POINT) |
#endif
-+ BIT(NL80211_IFTYPE_ADHOC) |
BIT(NL80211_IFTYPE_AP) },
++ { .max = 1, .types = BIT(NL80211_IFTYPE_ADHOC) },
};
+ static const struct ieee80211_iface_combination if_comb = {