qcacld-3.0: Fix using uninitialized values in hdd_send_twt_enable_cmd
Fix using uninitialized values for req_val, bcast_val and resp_val in the function hdd_send_twt_enable_cmd. Change-Id: Ie671660b62f0624fbf86707f15fe122b81552a53 CRs-Fixed: 2277826
Esse commit está contido em:
@@ -65,7 +65,7 @@ void hdd_update_tgt_twt_cap(struct hdd_context *hdd_ctx,
|
||||
void hdd_send_twt_enable_cmd(struct hdd_context *hdd_ctx)
|
||||
{
|
||||
uint8_t pdev_id = hdd_ctx->hdd_pdev->pdev_objmgr.wlan_pdev_id;
|
||||
uint32_t req_val, resp_val, bcast_val;
|
||||
uint32_t req_val = 0, resp_val = 0, bcast_val = 0;
|
||||
uint32_t congestion_timeout = hdd_ctx->config->twt_congestion_timeout;
|
||||
|
||||
sme_cfg_get_int(hdd_ctx->mac_handle, WNI_CFG_TWT_REQUESTOR, &req_val);
|
||||
|
Referência em uma nova issue
Block a user