Wlan: Host is not issuing offload scan to firmware

As supplicant send the DEAUTH_LEAVING when disconnect
sent from GUI.Earlier disconnect reason was wrongly
mapped in HDD/CSR to disassoc hence in csr we were
handling disassoc cmd and calling CsrRoamLinkDown,
But after proper handling it disconnect reason mapped
to deauth,we are calling csrRoamIssueDeauth which do not
call the CsrRoamLinkDown.Due to this the ROAMLINK State
is not reset INIT  from CONNECTED state.Hence the next
time when WLAN Connects back the Host does not issue the
offload command as it assumes to be in already connected
state.

Change-Id: I8e604d0a5a13ed71940f9892021140897868b083
CRs-Fixed: 682687
diff --git a/CORE/SME/src/csr/csrApiRoam.c b/CORE/SME/src/csr/csrApiRoam.c
index 09ec478..5b2c3c6 100644
--- a/CORE/SME/src/csr/csrApiRoam.c
+++ b/CORE/SME/src/csr/csrApiRoam.c
@@ -2827,7 +2827,11 @@
     csrRoamSubstateChange( pMac, NewSubstate, sessionId);
     
     status = csrSendMBDeauthReqMsg( pMac, sessionId, bssId, eSIR_MAC_DEAUTH_LEAVING_BSS_REASON );
-    if(!HAL_STATUS_SUCCESS(status))
+    if(HAL_STATUS_SUCCESS(status))
+    {
+        csrRoamLinkDown(pMac, sessionId);
+    }
+    else
     {
         smsLog(pMac, LOGE, FL("csrSendMBDeauthReqMsg failed with status %d Session ID: %d"
                                 MAC_ADDRESS_STR ), status, sessionId, MAC_ADDR_ARRAY(bssId));