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
This commit is contained in:
Tushnim Bhattacharyya 2018-10-05 14:11:43 -07:00 • committed by nshrivas
commit c23d56cea2

View file

@ -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) {