mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
wiphy: use a 16 bit tag for extended IEs
If an extended IE is needed a uint8_t tag would overflow.
This commit is contained in:
parent
d46fac6e93
commit
bdcbccbb9f
@ -811,7 +811,7 @@ int wiphy_estimate_data_rate(struct wiphy *wiphy,
|
||||
ie_tlv_iter_init(&iter, ies, ies_len);
|
||||
|
||||
while (ie_tlv_iter_next(&iter)) {
|
||||
uint8_t tag = ie_tlv_iter_get_tag(&iter);
|
||||
uint16_t tag = ie_tlv_iter_get_tag(&iter);
|
||||
|
||||
switch (tag) {
|
||||
case IE_TYPE_SUPPORTED_RATES:
|
||||
|
Loading…
Reference in New Issue
Block a user