aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-01-12 12:07:51 +0000
committerJohn Crispin <blogic@openwrt.org>2014-01-12 12:07:51 +0000
commitc51b9ad23a19f417f39830c1348a67b9ca525a93 (patch)
tree82071dafc7cbd1a03e0df3642407101bfd7b470b
parent21aac5ae98134b538e6d433d07580e9c4e1d69f5 (diff)
downloadupstream-c51b9ad23a19f417f39830c1348a67b9ca525a93.tar.gz
upstream-c51b9ad23a19f417f39830c1348a67b9ca525a93.tar.bz2
upstream-c51b9ad23a19f417f39830c1348a67b9ca525a93.zip
mac80211: enable ralink ap+sta support
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39239 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/mac80211/patches/620-rt2x00-add-AP+STA-support.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/620-rt2x00-add-AP+STA-support.patch b/package/kernel/mac80211/patches/620-rt2x00-add-AP+STA-support.patch
new file mode 100644
index 0000000000..337b647891
--- /dev/null
+++ b/package/kernel/mac80211/patches/620-rt2x00-add-AP+STA-support.patch
@@ -0,0 +1,11 @@
+--- a/drivers/net/wireless/rt2x00/rt2x00dev.c
++++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
+@@ -1263,7 +1263,7 @@ static inline void rt2x00lib_set_if_comb
+ */
+ if_limit = &rt2x00dev->if_limits_ap;
+ if_limit->max = rt2x00dev->ops->max_ap_intf;
+- if_limit->types = BIT(NL80211_IFTYPE_AP);
++ if_limit->types = BIT(NL80211_IFTYPE_AP) | BIT(NL80211_IFTYPE_STATION);
+ #ifdef CPTCFG_MAC80211_MESH
+ if_limit->types |= BIT(NL80211_IFTYPE_MESH_POINT);
+ #endif