mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
qcacld-3.0: channel_switch_complete_evt need wake up all waiting threads
2 threads blocked to wait channel_switch_complete_evt for SAP channel switch is already in progress, qdf_event_set only woke up 1st thread later, 2nd thread still kept blocked with hold net_dev for debug id NET_DEV_HOLD_COUNTRY_CHANGE_UPDATE_SAP, leak happened. Change-Id: Iad296f68aeaefe5a6b88ad6bea95cc377b2ae515 CRs-Fixed: 3061960
This commit is contained in:
parent
3e4a828535
commit
a9983f70bd
1 changed files with 1 additions and 2 deletions
|
|
@ -2600,8 +2600,7 @@ QDF_STATUS policy_mgr_set_chan_switch_complete_evt(
|
|||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
status = qdf_event_set(
|
||||
&pm_ctx->channel_switch_complete_evt);
|
||||
status = qdf_event_set_all(&pm_ctx->channel_switch_complete_evt);
|
||||
|
||||
if (!QDF_IS_STATUS_SUCCESS(status)) {
|
||||
policy_mgr_err("set event failed");
|
||||
|
|
|
|||
Loading…
Reference in a new issue