Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4efb7ea6 authored by CNSS_WLAN Service's avatar CNSS_WLAN Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "wlan: Error handling while issuing roam offload scan req" into wlan-driver.lnx.1.0

parents a6c01b8c 2b0e76bc
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -727,7 +727,7 @@ eHalStatus sme_RrmIssueScanReq( tpAniSirGlobal pMac )
   {
       tCsrScanRequest scanRequest;
       v_U32_t scanId = 0;
       tANI_U32 sessionId;
       tANI_U32 sessionId = 0;
#if defined WLAN_VOWIFI_DEBUG
   smsLog( pMac, LOGE, "Issue scan request " );
#endif
@@ -790,7 +790,13 @@ eHalStatus sme_RrmIssueScanReq( tpAniSirGlobal pMac )
       /* set requestType to full scan */
       scanRequest.requestType = eCSR_SCAN_REQUEST_FULL_SCAN;

       csrRoamGetSessionIdFromBSSID( pMac, (tCsrBssid*)pSmeRrmContext->sessionBssId, &sessionId );
       status = csrRoamGetSessionIdFromBSSID(pMac,
                        (tCsrBssid*)pSmeRrmContext->sessionBssId, &sessionId );
       if (!HAL_STATUS_SUCCESS(status)) {
           smsLog( pMac, LOGE, FL("sessionId not found for Offload scan req"));
           return status;
       }

       status = sme_ScanRequest( pMac, (tANI_U8)sessionId, &scanRequest, &scanId, &sme_RrmScanRequestCallback, NULL );

       if ( pSmeRrmContext->ssId.length )