mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
qcacld-3.0: Add debug print for wlan_hdd_validate_context
It can help to trace what is happening during load/unload and avoid just exiting silently. Change-Id: I61a451058a7846d3627500db2c9d8d5998e8210e CRs-fixed: 2123331
This commit is contained in:
parent
cd359b7e00
commit
9f275d9bdb
1 changed files with 4 additions and 1 deletions
|
|
@ -745,8 +745,11 @@ int wlan_hdd_validate_context(struct hdd_context *hdd_ctx)
|
|||
return -EAGAIN;
|
||||
}
|
||||
|
||||
if (cds_is_load_or_unload_in_progress())
|
||||
if (cds_is_load_or_unload_in_progress()) {
|
||||
hdd_debug("%pS Load or unload in progress, state: 0x%x, ignore!",
|
||||
(void *)_RET_IP_, cds_get_driver_state());
|
||||
return -EAGAIN;
|
||||
}
|
||||
|
||||
if (hdd_ctx->start_modules_in_progress ||
|
||||
hdd_ctx->stop_modules_in_progress) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue