mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-11 05:12:12 -05:00
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:
parent
d6f9cdfb0a
commit
c23d56cea2
1 changed files with 2 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue