diff options
| author | Kanchanapally, Vidyullatha <vkanchan@qti.qualcomm.com> | 2014-08-01 17:57:44 +0530 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-08-09 00:20:01 -0700 |
| commit | 5144a63d0df42ccaa8e2de6918da83ffdba801fe (patch) | |
| tree | b1c297bcd2fd052d3aafdb19a72a0e8f979d89b4 | |
| parent | c19030140d9a33a61334da5b6a65f37188eb7718 (diff) | |
qcacld: Decrement no. of active sessions after successful 11r roaming
After 11r roaming is completed, active session count is
incremented as a part of connect indication but effectively
the active session count should have been the same. As a result
this, after few roams the number of active sessions increments
to a large value preventing a subsequent fresh association. Fix
this by decrementing the number of active sessions after
successful 11r roaming.
Change-Id: I72cf83fe14aa2bab6e82c48a5c53f209fbe3833a
CRs-Fixed: 703262
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_assoc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CORE/HDD/src/wlan_hdd_assoc.c b/CORE/HDD/src/wlan_hdd_assoc.c index a16e5a560245..7e9c869c280d 100644 --- a/CORE/HDD/src/wlan_hdd_assoc.c +++ b/CORE/HDD/src/wlan_hdd_assoc.c @@ -1579,6 +1579,14 @@ static eHalStatus hdd_AssociationCompletionHandler( hdd_adapter_t *pAdapter, tCs { if ( !hddDisconInProgress ) { + /* After roaming is completed, active session count is + * incremented as a part of connect indication but + * effectively the active session count should still + * be the same and hence upon successful reassoc + * decrement the active session count here */ + wlan_hdd_decr_active_session(pHddCtx, + pAdapter->device_mode); + hddLog(LOG1, "%s ft_carrier_on is %d, sending roamed " "indication", __FUNCTION__, ft_carrier_on); chan = ieee80211_get_channel(pAdapter->wdev.wiphy, |
