mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
band: return -ENETUNREACH for HE rate estimation
This was overlooked in a prior patch and causes warnings to be printed when the RSSI is too low to estimate an HE data rate or due to incompatible local capabilities (e.g. MCS support). Similar to the other estimations, return -ENETUNREACH if the IE was valid but incompatible.
This commit is contained in:
parent
9cdc726dc1
commit
e5816b024f
@ -678,7 +678,7 @@ int band_estimate_he_rx_rate(const struct band *band, const uint8_t *hec,
|
||||
}
|
||||
|
||||
if (!rate)
|
||||
return -EBADMSG;
|
||||
return -ENETUNREACH;
|
||||
|
||||
*out_data_rate = rate;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user