mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacmn: Reset cmd_in_use flag when returning cmd_list to free pool
There is an instance where the cmd_in_use flag is not reset when cmd_list is not returned to the free pool Need to reset the cmd_in_use every time the cmd_list is returned to the free pool Change-Id: I1fae24dc691779c6c372936d2963f11f98898750 CRs-Fixed: 2379448
This commit is contained in:
parent
0c1dedb899
commit
0043ad80db
1 changed files with 1 additions and 0 deletions
|
|
@ -256,6 +256,7 @@ wlan_serialization_enqueue_cmd(struct wlan_serialization_command *cmd,
|
|||
if (status != WLAN_SER_CMD_PENDING && status != WLAN_SER_CMD_ACTIVE) {
|
||||
qdf_mem_zero(&cmd_list->cmd,
|
||||
sizeof(struct wlan_serialization_command));
|
||||
cmd_list->cmd_in_use = 0;
|
||||
wlan_serialization_insert_back(
|
||||
&pdev_queue->cmd_pool_list,
|
||||
&cmd_list->pdev_node);
|
||||
|
|
|
|||
Loading…
Reference in a new issue