mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
unit: fix test-band with new rate estimation returns
-ENETUNREACH is the correct return to check as this indicates either the RSSI was too low or the local capabilities were not compatible.
This commit is contained in:
parent
e5816b024f
commit
88d3261bc2
@ -444,7 +444,7 @@ const struct he_test_data he_all_mcs_unsupported = {
|
|||||||
.freq = BAND_FREQ_5_GHZ,
|
.freq = BAND_FREQ_5_GHZ,
|
||||||
.rssi = -20,
|
.rssi = -20,
|
||||||
.expected_rate = 1201000000ULL * 8ULL,
|
.expected_rate = 1201000000ULL * 8ULL,
|
||||||
.expected_return = -EBADMSG,
|
.expected_return = -ENETUNREACH,
|
||||||
.capabilities = {
|
.capabilities = {
|
||||||
.he_mcs_set = { MCS_UNSUP, MCS_UNSUP,
|
.he_mcs_set = { MCS_UNSUP, MCS_UNSUP,
|
||||||
MCS_UNSUP, MCS_UNSUP,
|
MCS_UNSUP, MCS_UNSUP,
|
||||||
|
Loading…
Reference in New Issue
Block a user