diff options
| author | Srinivas Girigowda <sgirigow@qca.qualcomm.com> | 2014-02-27 17:14:56 -0800 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-02-28 15:58:08 -0800 |
| commit | aaa5df72fc4031d79349e722c31433428edd65dc (patch) | |
| tree | 72aba1f3723229a416f515f5a1a3f0b296772cd7 | |
| parent | c79adf5039ed9dc3775b458629f12113d345818d (diff) | |
qcacld: Connection Failure Event to Supplicant
Send the connection failure result up to supplicant only
when CSR has completed all the available candidate AP's
for the required profile.For each individual connection
failure the roam status would be eCSR_ROAM_ASSOCIATION_COMPLETION
and roam result would be eCSR_ROAM_RESULT_NOT_ASSOCIATED.Once
all the available AP's are tried and was not able to connect to
any of them succesfully, then the roam status would be
eCSR_ROAM_ASSOCIATION FAILURE. So, wait until the DUT/driver has
tried to connect to all the available Access Points.
Change-Id: I0b1613df1b9a8b9114b170c3d848adffdee90bc2
CRs-Fixed: 623132
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_assoc.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/CORE/HDD/src/wlan_hdd_assoc.c b/CORE/HDD/src/wlan_hdd_assoc.c index 80f1906910e1..6a641f07d70a 100644 --- a/CORE/HDD/src/wlan_hdd_assoc.c +++ b/CORE/HDD/src/wlan_hdd_assoc.c @@ -1581,11 +1581,8 @@ static eHalStatus hdd_AssociationCompletionHandler( hdd_adapter_t *pAdapter, tCs } /* CR465478: Only send up a connection failure result when CSR has - * completed operation - with a ASSOCIATION_FAILURE status. - * or an ASSOCIATION_COMPLETION with RESULT_NOT_ASSOCIATED */ - if (( eCSR_ROAM_ASSOCIATION_FAILURE == roamStatus ) || - (( eCSR_ROAM_ASSOCIATION_COMPLETION == roamStatus ) - && ( eCSR_ROAM_RESULT_NOT_ASSOCIATED == roamResult ))) + * completed operation - with a ASSOCIATION_FAILURE status.*/ + if ( eCSR_ROAM_ASSOCIATION_FAILURE == roamStatus ) { /* inform association failure event to nl80211 */ if ( eCSR_ROAM_RESULT_ASSOC_FAIL_CON_CHANNEL == roamResult ) |
