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
1 changed files with 2 additions and 1 deletions

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