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:
@@ -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
|
||||
/**
|
||||
|
Reference in New Issue
Block a user