qcacld-3.0: Fix issue in populate_dot11f_twt_extended_caps
Fix using uninitialized variable status inside the function populate_dot11f_twt_extended_caps Change-Id: Ic80df2f6c5310414da4179f00867c0fe029b09c7 CRs-Fixed: 2277833
This commit is contained in:

committed by
nshrivas

parent
40e68c7e74
commit
a2a5e4345c
@@ -6418,7 +6418,7 @@ QDF_STATUS populate_dot11f_twt_extended_caps(tpAniSirGlobal mac_ctx,
|
|||||||
tDot11fIEExtCap *dot11f)
|
tDot11fIEExtCap *dot11f)
|
||||||
{
|
{
|
||||||
uint32_t value = 0;
|
uint32_t value = 0;
|
||||||
QDF_STATUS status;
|
QDF_STATUS status = QDF_STATUS_E_FAILURE;
|
||||||
struct s_ext_cap *p_ext_cap;
|
struct s_ext_cap *p_ext_cap;
|
||||||
|
|
||||||
dot11f->num_bytes = DOT11F_IE_EXTCAP_MAX_LEN;
|
dot11f->num_bytes = DOT11F_IE_EXTCAP_MAX_LEN;
|
||||||
|
Reference in New Issue
Block a user