|
@@ -431,7 +431,8 @@ static int ath6kl_cfg80211_connect(struct wiphy *wiphy, struct net_device *dev,
|
|
status = ath6kl_set_assoc_req_ies(vif, sme->ie, sme->ie_len);
|
|
status = ath6kl_set_assoc_req_ies(vif, sme->ie, sme->ie_len);
|
|
if (status)
|
|
if (status)
|
|
return status;
|
|
return status;
|
|
- }
|
|
|
|
|
|
+ } else
|
|
|
|
+ ar->connect_ctrl_flags &= ~CONNECT_WPS_FLAG;
|
|
|
|
|
|
if (test_bit(CONNECTED, &vif->flags) &&
|
|
if (test_bit(CONNECTED, &vif->flags) &&
|
|
vif->ssid_len == sme->ssid_len &&
|
|
vif->ssid_len == sme->ssid_len &&
|