qcacld-3.0: fix a potential assignment truncation issue

Truncation will happen when assining an association id over 256
to the u8 'aid' of struct wma_txrx_node.
To avoid such issue, change the type of 'aid' in struct wma_txrx_node,
from u8 to u16.

CRs-Fixed: 2713427
Change-Id: If360c017700aadaf9f2d3216601a011704f68180
Esse commit está contido em:
Yu Wang
2020-06-18 20:06:10 +08:00
commit de nshrivas
commit 7bb505608d

Ver arquivo

@@ -723,7 +723,7 @@ struct wma_txrx_node {
bool vdev_active;
uint64_t tsfadjust;
tAddStaParams *addBssStaContext;
uint8_t aid;
uint16_t aid;
uint8_t rmfEnabled;
uint32_t uapsd_cached_val;
void *del_staself_req;