2015-12-04 22:39:37 +00:00
|
|
|
--- a/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c
|
|
|
|
+++ b/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c
|
2016-07-14 16:15:48 +00:00
|
|
|
@@ -1292,7 +1292,7 @@ static inline void rt2x00lib_set_if_comb
|
2014-01-12 12:07:51 +00:00
|
|
|
*/
|
|
|
|
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
|