qcacld-3.0: Fix uninitialized subtype usage by policy manager

Currently, Updation of vdev related parameters
policy_mgr_vdev_entry_info is conditional. Conditional
updation can cause uninitialized usage of subtype of
policy_mgr_vdev_entry_info by policy manager to get concurrency
mode.

Fix is to initialize policy_mgr_vdev_entry_info with zero.

Change-Id: If1350bd66705defdea2e69d559de0a6578acde02
CRs-Fixed: 2423871
This commit is contained in:
sheenam monga
2019-04-05 12:27:54 +05:30
committed by nshrivas
父節點 bf0c2b7c56
當前提交 4a3f34138c
共有 2 個文件被更改,包括 2 次插入2 次删除

查看文件

@@ -226,7 +226,7 @@ static inline QDF_STATUS
wlan_nan_get_connection_info(struct wlan_objmgr_psoc *psoc,
struct policy_mgr_vdev_entry_info *conn_info)
{
return QDF_STATUS_SUCCESS;
return QDF_STATUS_E_FAILURE;
}
static inline uint8_t wlan_nan_get_disc_5g_ch(struct wlan_objmgr_psoc *psoc)