diff options
author | John Crispin <john@openwrt.org> | 2014-01-12 12:07:51 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-01-12 12:07:51 +0000 |
commit | 2bf5a25f87728613e9dfcdf52b9b44261aaa550f (patch) | |
tree | 89bba6287486dc3f18119de1f0d394f4c75e0018 /package/kernel | |
parent | 2b4a04089ffa854324a8bc16cfe208d5fc058c62 (diff) | |
download | upstream-2bf5a25f87728613e9dfcdf52b9b44261aaa550f.tar.gz upstream-2bf5a25f87728613e9dfcdf52b9b44261aaa550f.tar.bz2 upstream-2bf5a25f87728613e9dfcdf52b9b44261aaa550f.zip |
mac80211: enable ralink ap+sta support
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39239
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/mac80211/patches/620-rt2x00-add-AP+STA-support.patch | 11 |
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 |