From e196cb1178d90b77cd84e3b263cba94e8fc63b07 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Mon, 15 Apr 2024 12:29:45 -0700 Subject: [PATCH] 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. --- src/wiphy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wiphy.c b/src/wiphy.c index 712d20cf..8f5e46bf 100644 --- a/src/wiphy.c +++ b/src/wiphy.c @@ -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; }