diff options
-rw-r--r-- | net/mac80211/ieee80211_sta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c index 892b5f96a427..c9d00187e790 100644 --- a/net/mac80211/ieee80211_sta.c +++ b/net/mac80211/ieee80211_sta.c | |||
@@ -3878,8 +3878,8 @@ ieee80211_sta_scan_result(struct net_device *dev, | |||
3878 | bss->ssid); | 3878 | bss->ssid); |
3879 | } | 3879 | } |
3880 | 3880 | ||
3881 | if (bss->capability & (WLAN_CAPABILITY_ESS | WLAN_CAPABILITY_IBSS | 3881 | if (bss->capability & (WLAN_CAPABILITY_ESS | WLAN_CAPABILITY_IBSS) |
3882 | || bss_mesh_cfg(bss))) { | 3882 | || bss_mesh_cfg(bss)) { |
3883 | memset(&iwe, 0, sizeof(iwe)); | 3883 | memset(&iwe, 0, sizeof(iwe)); |
3884 | iwe.cmd = SIOCGIWMODE; | 3884 | iwe.cmd = SIOCGIWMODE; |
3885 | if (bss_mesh_cfg(bss)) | 3885 | if (bss_mesh_cfg(bss)) |