Ver Fonte

qcacld-3.0: Move legacy serialization flush cmds to common api

Move legacy serialization flush cmds to common api

Change-Id: If54b7241217618f9fd977b9a604bd1059f8a32ce
CRs-Fixed: 2452517
Abhishek Singh há 5 anos atrás
pai
commit
62e574550b
1 ficheiros alterados com 5 adições e 8 exclusões
  1. 5 8
      core/sme/src/csr/csr_util.c

+ 5 - 8
core/sme/src/csr/csr_util.c

@@ -420,23 +420,20 @@ const char *csr_phy_mode_str(eCsrPhyMode phy_mode)
 void csr_purge_vdev_pending_ser_cmd_list(struct mac_context *mac_ctx,
 					 uint32_t vdev_id)
 {
-	wlan_serialization_purge_cmd_list_by_vdev_id(mac_ctx->psoc, vdev_id,
-						     false, true, false,
-						     true, false);
+	wlan_serialization_purge_all_pending_cmd_by_vdev_id(mac_ctx->pdev,
+							    vdev_id);
 }
 
 void csr_purge_vdev_all_scan_ser_cmd_list(struct mac_context *mac_ctx,
 					  uint32_t vdev_id)
 {
-	wlan_serialization_purge_cmd_list_by_vdev_id(mac_ctx->psoc, vdev_id,
-						     true, true, false,
-						     false, false);
+	wlan_serialization_purge_all_scan_cmd_by_vdev_id(mac_ctx->pdev,
+							 vdev_id);
 }
 
 void csr_purge_pdev_all_ser_cmd_list(struct mac_context *mac_ctx)
 {
-	wlan_serialization_purge_cmd_list(mac_ctx->psoc, NULL, true, true,
-					  true, true, true);
+	wlan_serialization_purge_all_pdev_cmd(mac_ctx->pdev);
 }
 
 uint32_t csr_nonscan_active_ll_count(struct mac_context *mac_ctx)