mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
399d5cf532
Some of our local patches have been accepted upstream. And there are some more relevant changes (mostly for rt2800usb). Import them and rebase our remaining local patches on top. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
12 lines
469 B
Diff
12 lines
469 B
Diff
--- a/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c
|
|
+++ b/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c
|
|
@@ -1358,7 +1358,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
|