|
@@ -191,7 +191,8 @@ static void rt2x00lib_beacondone_iter(void *data, u8 *mac,
|
|
|
|
|
|
if (vif->type != NL80211_IFTYPE_AP &&
|
|
|
vif->type != NL80211_IFTYPE_ADHOC &&
|
|
|
- vif->type != NL80211_IFTYPE_MESH_POINT)
|
|
|
+ vif->type != NL80211_IFTYPE_MESH_POINT &&
|
|
|
+ vif->type != NL80211_IFTYPE_WDS)
|
|
|
return;
|
|
|
|
|
|
/*
|
|
@@ -782,7 +783,8 @@ int rt2x00lib_probe_dev(struct rt2x00_dev *rt2x00dev)
|
|
|
rt2x00dev->hw->wiphy->interface_modes |=
|
|
|
BIT(NL80211_IFTYPE_ADHOC) |
|
|
|
BIT(NL80211_IFTYPE_AP) |
|
|
|
- BIT(NL80211_IFTYPE_MESH_POINT);
|
|
|
+ BIT(NL80211_IFTYPE_MESH_POINT) |
|
|
|
+ BIT(NL80211_IFTYPE_WDS);
|
|
|
|
|
|
/*
|
|
|
* Let the driver probe the device to detect the capabilities.
|
|
@@ -941,7 +943,8 @@ static void rt2x00lib_resume_intf(void *data, u8 *mac,
|
|
|
*/
|
|
|
if (vif->type == NL80211_IFTYPE_AP ||
|
|
|
vif->type == NL80211_IFTYPE_ADHOC ||
|
|
|
- vif->type == NL80211_IFTYPE_MESH_POINT)
|
|
|
+ vif->type == NL80211_IFTYPE_MESH_POINT ||
|
|
|
+ vif->type == NL80211_IFTYPE_WDS)
|
|
|
intf->delayed_flags |= DELAYED_UPDATE_BEACON;
|
|
|
|
|
|
spin_unlock(&intf->lock);
|