diff options
| author | Tushnim Bhattacharyya <tushnimb@codeaurora.org> | 2018-10-05 14:11:43 -0700 |
|---|---|---|
| committer | nshrivas <nshrivas@codeaurora.org> | 2018-11-09 19:39:38 -0800 |
| commit | 1e48ae55ff2b31a26613a90e3290db8f83e04f30 (patch) | |
| tree | 81c8ce34cdf526ed5e8480883bcf7d966b5e29c6 | |
| parent | 20a305b640310a2df8664f50d666fdf8edc72651 (diff) | |
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
| -rw-r--r-- | core/wma/src/wma_main.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c index a5ff14aa7429..c5eeb84165e7 100644 --- a/core/wma/src/wma_main.c +++ b/core/wma/src/wma_main.c @@ -3257,8 +3257,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) { @@ -3350,8 +3349,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) { |
