2
0

611-rt2x00-add-AP+STA-support.patch 469 B

1234567891011
  1. --- a/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c
  2. +++ b/drivers/net/wireless/ralink/rt2x00/rt2x00dev.c
  3. @@ -1358,7 +1358,7 @@ static inline void rt2x00lib_set_if_comb
  4. */
  5. if_limit = &rt2x00dev->if_limits_ap;
  6. if_limit->max = rt2x00dev->ops->max_ap_intf;
  7. - if_limit->types = BIT(NL80211_IFTYPE_AP);
  8. + if_limit->types = BIT(NL80211_IFTYPE_AP) | BIT(NL80211_IFTYPE_STATION);
  9. #ifdef CPTCFG_MAC80211_MESH
  10. if_limit->types |= BIT(NL80211_IFTYPE_MESH_POINT);
  11. #endif