diff options
Diffstat (limited to 'net/wireless/mlme.c')
-rw-r--r-- | net/wireless/mlme.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/wireless/mlme.c b/net/wireless/mlme.c index 2c52b59e43f3..7aae329e2b4e 100644 --- a/net/wireless/mlme.c +++ b/net/wireless/mlme.c | |||
@@ -229,7 +229,8 @@ int cfg80211_mlme_auth(struct cfg80211_registered_device *rdev, | |||
229 | return -EALREADY; | 229 | return -EALREADY; |
230 | 230 | ||
231 | req.bss = cfg80211_get_bss(&rdev->wiphy, chan, bssid, ssid, ssid_len, | 231 | req.bss = cfg80211_get_bss(&rdev->wiphy, chan, bssid, ssid, ssid_len, |
232 | WLAN_CAPABILITY_ESS, WLAN_CAPABILITY_ESS); | 232 | IEEE80211_BSS_TYPE_ESS, |
233 | IEEE80211_PRIVACY_ANY); | ||
233 | if (!req.bss) | 234 | if (!req.bss) |
234 | return -ENOENT; | 235 | return -ENOENT; |
235 | 236 | ||
@@ -296,7 +297,8 @@ int cfg80211_mlme_assoc(struct cfg80211_registered_device *rdev, | |||
296 | rdev->wiphy.vht_capa_mod_mask); | 297 | rdev->wiphy.vht_capa_mod_mask); |
297 | 298 | ||
298 | req->bss = cfg80211_get_bss(&rdev->wiphy, chan, bssid, ssid, ssid_len, | 299 | req->bss = cfg80211_get_bss(&rdev->wiphy, chan, bssid, ssid, ssid_len, |
299 | WLAN_CAPABILITY_ESS, WLAN_CAPABILITY_ESS); | 300 | IEEE80211_BSS_TYPE_ESS, |
301 | IEEE80211_PRIVACY_ANY); | ||
300 | if (!req->bss) | 302 | if (!req->bss) |
301 | return -ENOENT; | 303 | return -ENOENT; |
302 | 304 | ||