qcacld-3.0: Fix 'variables may be used uninitialized' issue

Need to set default value for tdls_feature_set to
fix the 'variables may be used uninitialized' issue.

Change-Id: I1cab38220240432c620a83ecb2f4feefb71f2e4f
CRs-Fixed: 3342670
This commit is contained in:
Chaoli Zhou
2022-11-16 17:01:14 +08:00
committed by Madan Koyyalamudi
부모 bad2015c69
커밋 5fbbb4a769

파일 보기

@@ -340,7 +340,7 @@ static void wma_set_feature_set_info(tp_wma_handle wma_handle,
struct wlan_scan_features scan_feature_set;
struct wlan_twt_features twt_feature_set;
struct wlan_mlme_features mlme_feature_set;
struct wlan_tdls_features tdls_feature_set;
struct wlan_tdls_features tdls_feature_set = {0};
psoc = wma_handle->psoc;
if (!psoc) {