wlan: Do not depend on supplicant to transit the STA to authorized
wlan: Commit "Do not wait for supplicant to transit the STA to
authorized" insists not to depend on the supplicant to do so.
Thus removing the functionality in wlan_hdd_change_station to
achieve the same.
Change-Id: Ic418952d2a6435a3d77648a47b03362dccdf136c
CRs-fixed: 498232
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index a833c47..aa3cbb1 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -3067,22 +3067,7 @@
}
}
#endif
- if(params->sta_flags_set & BIT(NL80211_STA_FLAG_AUTHORIZED))
- {
- status = WLANTL_ChangeSTAState(pHddCtx->pvosContext, pHddStaCtx->conn_info.staId[ 0 ],
- WLANTL_STA_AUTHENTICATED);
- if (status != VOS_STATUS_SUCCESS)
- {
- VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_FATAL,
- "%s: Not able to change TL state to AUTHENTICATED", __func__);
- return -EINVAL;
- }
- pHddStaCtx->conn_info.uIsAuthenticated = VOS_TRUE;
- VOS_TRACE( VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
- "%s: TL Moving to Authenticated state", __func__);
- }
- }
-
+ }
EXIT();
return status;
}