diff options
| author | Haresh Eswari Lankaraman <c_heswar@qca.qualcomm.com> | 2014-09-25 15:39:26 -0700 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-10-02 13:08:10 -0700 |
| commit | 931cda2dcda4f5b952e77a0380d285a07f6361b9 (patch) | |
| tree | b33ffc8755acfce64a313d93bdbaca0fcf150a37 | |
| parent | 67fe1da91cbc61ead20cdc3fc1b64a0ee2976d5a (diff) | |
qcacld: Add support for AP mode scan
Code changes to support the feature for scanning
in AP mode.
Change-Id: I6d78bd7cb121c0aeef66e29413ac7ea2f747be2c
CRs-Fixed: 731198
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_cfg80211.c | 8 | ||||
| -rw-r--r-- | CORE/SME/src/csr/csrApiRoam.c | 6 |
2 files changed, 0 insertions, 14 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c index 26f66fd2ab97..079529ccbfcd 100644 --- a/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -8958,14 +8958,6 @@ int __wlan_hdd_cfg80211_scan( struct wiphy *wiphy, return -EOPNOTSUPP; } #endif - //Scan on any other interface is not supported. - if (pAdapter->device_mode == WLAN_HDD_SOFTAP) - { - hddLog(VOS_TRACE_LEVEL_ERROR, - "%s: Not scanning on device_mode = %d", - __func__, pAdapter->device_mode); - return -EOPNOTSUPP; - } if (TRUE == pScanInfo->mScanPending) { diff --git a/CORE/SME/src/csr/csrApiRoam.c b/CORE/SME/src/csr/csrApiRoam.c index 836570cda011..32988241f4f2 100644 --- a/CORE/SME/src/csr/csrApiRoam.c +++ b/CORE/SME/src/csr/csrApiRoam.c @@ -7013,12 +7013,6 @@ eHalStatus csrRoamConnect(tpAniSirGlobal pMac, tANI_U32 sessionId, tCsrRoamProfi csrScanCancelIdleScan(pMac); //Only abort the scan if it is not used for other roam/connect purpose csrScanAbortMacScan(pMac, sessionId, eCSR_SCAN_ABORT_DEFAULT); - if (!vos_concurrent_open_sessions_running() && - (VOS_STA_SAP_MODE == pProfile->csrPersona)) - { - /* In case of AP mode we do not want idle mode scan */ - csrScanDisable(pMac); - } csrRoamRemoveDuplicateCommand(pMac, sessionId, NULL, eCsrHddIssued); //Check whether ssid changes if(csrIsConnStateConnected(pMac, sessionId)) |
