qcacld-3.0: reduce log to fix a watchdog bark issue

If wlan is unloading when iperf is running, iperf
will call wmm select and check whether it's in
loading/unloading status, if yes, it will send the
following log to user space via wlan logging thread:
'Unloading/Loading in Progress. Ignore!!!';
These logs are printed too frequently, which will
cause watchdog bark.

To fix this issue, remove the log in:
wlan_hdd_validate_context();

Propagated from cld2.0.

Change-Id: I4130ae9bc4693f5b8dd37a2af5f95e90800303cd
CRs-Fixed: 2034385
This commit is contained in:
Yu Wang
2017-03-22 10:27:12 +08:00
committed by snandini
parent d9db825055
commit 430e7de1d4

View File

@@ -613,8 +613,6 @@ int wlan_hdd_validate_context(hdd_context_t *hdd_ctx)
} }
if (cds_is_load_or_unload_in_progress()) { if (cds_is_load_or_unload_in_progress()) {
hdd_debug("%pS Unloading/Loading in Progress. Ignore!!!: 0x%x",
(void *)_RET_IP_, cds_get_driver_state());
return -EAGAIN; return -EAGAIN;
} }