mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacmn: Detach scan object on release memory callback
Detach scan start request object from serialization object on release memory callback. It's requred as some times serialization ends up calling callback funtcions even after calling release memory command due to race conditions. Change-Id: Id0f74032de40bad679c27fe3e5ab1bf83e6dfcf5 CRs-Fixed: 2208227
This commit is contained in:
parent
5034701e13
commit
dc56b1e39a
1 changed files with 1 additions and 0 deletions
|
|
@ -351,6 +351,7 @@ scm_scan_serialize_callback(struct wlan_serialization_command *cmd,
|
|||
/* command successfully completed.
|
||||
* Release vdev reference and free scan_start_request memory
|
||||
*/
|
||||
cmd->umac_cmd = NULL;
|
||||
wlan_objmgr_vdev_release_ref(req->vdev, WLAN_SCAN_ID);
|
||||
status = scm_scan_free_scan_request_mem(req);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue