3
0
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:
Denis Kenzior 2021-06-01 16:46:23 -05:00
parent d773c0b4ac
commit 683ff1a4e4

View File

@ -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;