mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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:
parent
bf0c2b7c56
commit
4a3f34138c
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue