diff options
| author | Vinay Krishna Eranna <c_veran@qti.qualcomm.com> | 2014-03-28 14:38:35 -0700 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2014-04-08 09:32:39 -0700 |
| commit | f8468223aa607cb0289a47c5f8cb8cf10524fcaa (patch) | |
| tree | 912a2dad484a558cae7f1f10a705a8931d00076d | |
| parent | 214735f76cb0858ff025bb0bad0429bd7a981169 (diff) | |
wlan: Fix for schedule scan print
wpa_supplicant periodically scans neighboring access points if the
wiphy capability WIPHY_FLAG_SUPPORTS_SCHED_SCAN is set. Any active
sessions do not allow scheduled scan. The log level of the print is
lowered to info. Also corrected another print on flushing pmksa
entries.
Change-Id: Iab91b3629af08f6e67f1c3d33bf32f74557a6e0d
CRs-Fixed: 640640
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_cfg80211.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c index 8f0e59900282..97a56643f1da 100644 --- a/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -8371,9 +8371,8 @@ static int wlan_hdd_cfg80211_del_pmksa(struct wiphy *wiphy, struct net_device *d /*in case index is 0,no entry to delete*/ if (0 == PMKIDCacheIndex) { - hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Invalid entry to delete" , - __func__); - return -EINVAL; + hddLog(VOS_TRACE_LEVEL_ERROR, FL("No entries to flush")); + return -EINVAL; } /*find the matching PMKSA entry from j=0 to (index-1), @@ -8612,7 +8611,7 @@ void hdd_cfg80211_sched_scan_done_callback(void *callbackContext, /* * FUNCTION: wlan_hdd_is_pno_allowed - * Check if PNO is allowed or not. + * Disallow pno if any session is active */ static eHalStatus wlan_hdd_is_pno_allowed(hdd_adapter_t *pAdapter) { @@ -8623,10 +8622,10 @@ static eHalStatus wlan_hdd_is_pno_allowed(hdd_adapter_t *pAdapter) status = hdd_get_front_adapter(pHddCtx, &pAdapterNode); - /* Current firmware design for PNO does not consider concurrent - * active sessions. Hence , determine the concurrent active sessions - * and return a failure. - */ + /* The current firmware design does not allow PNO during any + * active sessions. Hence, determine the active sessions + * and return a failure. + */ while ((NULL != pAdapterNode) && (VOS_STATUS_SUCCESS == status)) { |
