qcacld-3.0: Optimize console logging during cfg80211 suspend

During cfg80211 suspend there are couple of redundant log messages
which are logged on console. Change the log level to debug to avoid
logging them on console.

Change-Id: Id45cc261ec7c2c1397afa746216b090fc5d34d7a
CRs-Fixed: 2235798
This commit is contained in:
Rajeev Kumar
2018-05-03 09:20:40 -07:00
committad av nshrivas
förälder f2cdc94422
incheckning 9176ca4778
2 ändrade filer med 6 tillägg och 4 borttagningar

Visa fil

@@ -1095,7 +1095,8 @@ hdd_suspend_wlan(void)
}
/* stop all TX queues before suspend */
hdd_info("Disabling queues");
hdd_info("Disabling queues for dev mode %s",
hdd_device_mode_to_string(adapter->device_mode));
wlan_hdd_netif_queue_control(adapter,
WLAN_STOP_ALL_NETIF_QUEUE,
WLAN_CONTROL_PATH);
@@ -1157,7 +1158,8 @@ static int hdd_resume_wlan(void)
hdd_disable_host_offloads(adapter, pmo_apps_resume);
/* wake the tx queues */
hdd_info("Enabling queues");
hdd_info("Enabling queues for dev mode %s",
hdd_device_mode_to_string(adapter->device_mode));
wlan_hdd_netif_queue_control(adapter,
WLAN_WAKE_ALL_NETIF_QUEUE,
WLAN_CONTROL_PATH);
@@ -1693,7 +1695,7 @@ static int __wlan_hdd_cfg80211_suspend_wlan(struct wiphy *wiphy,
*/
hdd_for_each_adapter(hdd_ctx, adapter) {
if (wlan_hdd_validate_session_id(adapter->session_id)) {
hdd_err("invalid session id: %d", adapter->session_id);
hdd_debug("invalid session id: %d", adapter->session_id);
continue;
}

Visa fil

@@ -12701,7 +12701,7 @@ bool sme_neighbor_middle_of_roaming(tHalHandle hHal, uint8_t sessionId)
if (CSR_IS_SESSION_VALID(mac_ctx, sessionId))
val = csr_neighbor_middle_of_roaming(mac_ctx, sessionId);
else
sme_err("Invalid Session: %d", sessionId);
sme_debug("Invalid Session: %d", sessionId);
return val;
}