mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: Release mutex before returning
Release remain_on_chan_ctx_lock mutex before returning to avoid thread deadlock situation. Change-Id: If5fb823ac2c042d34693abb8928dbc2159449a6e CRs-Fixed: 2056611
This commit is contained in:
parent
d0fad467ef
commit
c827df30e3
1 changed files with 2 additions and 0 deletions
|
|
@ -1278,6 +1278,8 @@ __wlan_hdd_cfg80211_cancel_remain_on_channel(struct wiphy *wiphy,
|
|||
OFF_CHANNEL_ACTION_TX;
|
||||
pRemainChanCtx->cookie =
|
||||
cfgState->action_cookie;
|
||||
mutex_unlock(&cfgState->
|
||||
remain_on_chan_ctx_lock);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue