summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGupta, Kapil <kapgupta@qti.qualcomm.com>2016-05-11 22:15:21 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-05-17 15:01:21 +0530
commitece0b4bef666d95df57aa979b288b0a0e5800c6e (patch)
tree653b91e7bb9646736cbaa0ec21edfdd7ab220af6
parent2ff86ba9b909d2f62af2e907354d62b07d08a46b (diff)
qcacld-2.0: Correct return value of wlan_hdd_cfg80211_update_bss
wlan_hdd_cfg80211_update_bss API returns eHAL_STATUS in case of nil scan result whereas the return type of API is integer. Correct return value of API for nil scan result. Change-Id: Id5185b9f4983f24a4a731ba241464a4ed87d413d CRs-Fixed: 1014532
-rw-r--r--CORE/HDD/src/wlan_hdd_cfg80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index ef4227e1876a..f6646a90433a 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -16384,7 +16384,7 @@ static int wlan_hdd_cfg80211_update_bss( struct wiphy *wiphy,
/* no scan results */
if (NULL == pResult) {
hddLog(LOG1, FL("No scan result Status %d"), status);
- return status;
+ return -EAGAIN;
}
pScanResult = sme_ScanResultGetFirst(hHal, pResult);