qcacmn: Reset command list status flag after use
When the command is released from the queue, it is added back to the global pool. Reset the status flag of the command before releasing it back to the global pool. Change-Id: I3e51fc6aa0ffc0dafe87b838a5a256fc65d12d09 CRs-Fixed: 2372562
This commit is contained in:

committed by
nshrivas

orang tua
f9ba21e503
melakukan
a334af9437
@@ -505,6 +505,7 @@ wlan_serialization_dequeue_cmd(struct wlan_serialization_command *cmd,
|
||||
sizeof(struct wlan_serialization_command));
|
||||
qdf_mem_zero(&cmd_list->cmd,
|
||||
sizeof(struct wlan_serialization_command));
|
||||
cmd_list->cmd_in_use = 0;
|
||||
qdf_status = wlan_serialization_insert_back(
|
||||
&pdev_queue->cmd_pool_list,
|
||||
&cmd_list->pdev_node);
|
||||
|
@@ -589,7 +589,7 @@ wlan_ser_cancel_non_scan_cmd(
|
||||
|
||||
qdf_mem_zero(&cmd_list->cmd,
|
||||
sizeof(struct wlan_serialization_command));
|
||||
|
||||
cmd_list->cmd_in_use = 0;
|
||||
qdf_status = wlan_serialization_insert_back(
|
||||
&pdev_q->cmd_pool_list,
|
||||
&cmd_list->pdev_node);
|
||||
|
@@ -294,7 +294,7 @@ wlan_ser_cancel_scan_cmd(
|
||||
|
||||
qdf_mem_zero(&cmd_list->cmd,
|
||||
sizeof(struct wlan_serialization_command));
|
||||
|
||||
cmd_list->cmd_in_use = 0;
|
||||
qdf_status = wlan_serialization_insert_back(
|
||||
&pdev_q->cmd_pool_list,
|
||||
&cmd_list->pdev_node);
|
||||
|
Reference in New Issue
Block a user