From c23d56cea203f95361c69ff9fc1a430765b52910 Mon Sep 17 00:00:00 2001 From: Tushnim Bhattacharyya Date: Fri, 5 Oct 2018 14:11:43 -0700 Subject: [PATCH] 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 --- core/wma/src/wma_main.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c index 0f773c4ad115..26d219c4f16b 100644 --- a/core/wma/src/wma_main.c +++ b/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) {