3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

wiphy: include MAC of BSS with invalid HE capabilities

The prior print was not very descriptive, and now will log the
MAC of the offending BSS.
This commit is contained in:
James Prestwood 2024-04-15 12:29:45 -07:00 committed by Denis Kenzior
parent 468cecdbca
commit e196cb1178

View File

@ -1039,7 +1039,8 @@ int wiphy_estimate_data_rate(struct wiphy *wiphy,
break;
case IE_TYPE_HE_CAPABILITIES:
if (!ie_validate_he_capabilities(iter.data, iter.len)) {
l_warn("invalid HE capabilities");
l_warn("invalid HE capabilities for "MAC,
MAC_STR(bss->addr));
continue;
}