qcacld-3.0: Use MAX_PMKID_LEN in cds_fils_connection_info
Currently in cds_config.h the macro MAX_PMKID_LEN is not used, and the pmkid field in struct cds_fils_connection_info uses the "magic number" 16, so replace the magic number with the macro. Change-Id: I11e7f55d43e5cdd3f222f54434a33c94654f2384 CRs-Fixed: 2366959
This commit is contained in:
parent
5c89b2c49b
commit
b77c0e3843
@ -155,7 +155,7 @@ struct cds_fils_connection_info {
|
|||||||
uint8_t auth_type;
|
uint8_t auth_type;
|
||||||
uint8_t pmk[MAX_PMK_LEN];
|
uint8_t pmk[MAX_PMK_LEN];
|
||||||
uint8_t pmk_len;
|
uint8_t pmk_len;
|
||||||
uint8_t pmkid[16];
|
uint8_t pmkid[MAX_PMKID_LEN];
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
#endif /* !defined( __CDS_CONFIG_H ) */
|
#endif /* !defined( __CDS_CONFIG_H ) */
|
||||||
|
Loading…
Reference in New Issue
Block a user