wlan: Need to free Active sessions in case of SSR.

If SSR happens; active sessions are not being cleared
so that after SSR recovering station will not be able to
connect again as max concurrent session will be reached.

CRs-Fixed: 705506
Change-Id: I39e031e370c507243329d33061286a98d0ab4f77
diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c
index 5dd9352..ccd93f2 100644
--- a/CORE/HDD/src/wlan_hdd_main.c
+++ b/CORE/HDD/src/wlan_hdd_main.c
@@ -6977,6 +6977,9 @@
       pAdapter->sessionCtx.station.hdd_ReassocScenario = VOS_FALSE;
 
       hdd_deinit_tx_rx(pAdapter);
+
+      wlan_hdd_decr_active_session(pHddCtx, pAdapter->device_mode);
+
       if (test_bit(WMM_INIT_DONE, &pAdapter->event_flags))
       {
           hdd_wmm_adapter_close( pAdapter );