mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
qcacmn: Fix reachable Assert in convert_target_pdev_id_to_host_pdev_id
Currently, If invalid pdev_id is passed to convert_target_pdev_id_to_host_pdev_id it results into Assert. Fix is to remove QDF_ASSERT(0) in convert_target_pdev_id_to_host_pdev_id. Return WMI_HOST_PDEV_ID_INVALID if convert_target_pdev_id_to_host_pdev_id receives invalid pdev id. Change-Id: Icb6a75c3f3664596fbba4532f5b29ed626ba28f2 CRs-Fixed: 2428787
This commit is contained in:
parent
88e3fc5032
commit
57effefdba
2 changed files with 14 additions and 4 deletions
|
|
@ -7363,6 +7363,7 @@ struct coex_config_params {
|
|||
#define WMI_HOST_PDEV_ID_0 0
|
||||
#define WMI_HOST_PDEV_ID_1 1
|
||||
#define WMI_HOST_PDEV_ID_2 2
|
||||
#define WMI_HOST_PDEV_ID_INVALID 0xFFFFFFFF
|
||||
|
||||
#ifndef CMN_VDEV_MGR_TGT_IF_ENABLE
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue