mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 14:49:24 +01:00
wiphy: Return -errno instead of false
This commit is contained in:
parent
d773c0b4ac
commit
683ff1a4e4
@ -721,7 +721,7 @@ int wiphy_estimate_data_rate(struct wiphy *wiphy,
|
||||
break;
|
||||
case IE_TYPE_VHT_CAPABILITIES:
|
||||
if (iter.len != 12)
|
||||
return false;
|
||||
return -EBADMSG;
|
||||
|
||||
vht_capabilities = iter.data - 2;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user