Browse Source

qcacmn: Release pdev pending list instead of active list wrongly

When destry pdev, need release serialization active list if it
is not empty, but release pending list by mistake, assert will
happen.

Change-Id: I83be2cb512f3a832d03c0c33c8ea63243d745a54
CRs-Fixed: 2323512
Jianmin Zhu 6 years ago
parent
commit
e4dc0494f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      umac/cmn_services/serialization/src/wlan_serialization_utils.c

+ 1 - 1
umac/cmn_services/serialization/src/wlan_serialization_utils.c

@@ -1213,7 +1213,7 @@ static void wlan_serialization_release_pdev_list_cmds(
 
 	while (!wlan_serialization_list_empty(&pdev_queue->active_list)) {
 		wlan_serialization_remove_front(
-				&pdev_queue->pending_list, &node);
+				&pdev_queue->active_list, &node);
 		wlan_serialization_insert_back(
 				&pdev_queue->cmd_pool_list, node);
 	}