Quellcode durchsuchen

qcacld-3.0: Don't QDF_BUG() if pdev_id is WMI_PDEV_ID_SOC

Remove the QDF_BUG() from sanity check of pdev_id passed with
pdev_hw_mode_trans_ind event from FW.

Change-Id: I91bb697993e129bf3f8ff62900e21f85dbe85efc
CRs-Fixed: 2328603
Tushnim Bhattacharyya vor 6 Jahren
Ursprung
Commit
c23d56cea2
1 geänderte Dateien mit 2 neuen und 4 gelöschten Zeilen
  1. 2 4
      core/wma/src/wma_main.c

+ 2 - 4
core/wma/src/wma_main.c

@@ -3938,8 +3938,7 @@ static int wma_pdev_set_hw_mode_resp_evt_handler(void *handle,
 		pdev_id = vdev_mac_entry[i].pdev_id;
 		if (pdev_id == WMI_PDEV_ID_SOC) {
 			WMA_LOGE("%s: soc level id received for mac id)",
-				__func__);
-			QDF_BUG(0);
+				 __func__);
 			goto fail;
 		}
 		if (vdev_id >= wma->max_bssid) {
@@ -4034,8 +4033,7 @@ void wma_process_pdev_hw_mode_trans_ind(void *handle,
 
 		if (pdev_id == WMI_PDEV_ID_SOC) {
 			WMA_LOGE("%s: soc level id received for mac id)",
-					__func__);
-			QDF_BUG(0);
+				 __func__);
 			return;
 		}
 		if (vdev_id >= wma->max_bssid) {