From: James Prestwood <prestwoj@gmail.com>
To: iwd@lists.linux.dev
Cc: James Prestwood <prestwoj@gmail.com>
Subject: [PATCH v2 1/4] wiphy: include MAC of BSS with invalid HE capabilities
Date: Mon, 15 Apr 2024 12:29:45 -0700 [thread overview]
Message-ID: <20240415192948.65857-1-prestwoj@gmail.com> (raw)
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;
}
--
2.34.1
next reply other threads:[~2024-04-15 19:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-15 19:29 James Prestwood [this message]
2024-04-15 19:29 ` [PATCH v2 2/4] wiphy: handle -ENETUNREACH for rate estimation James Prestwood
2024-04-15 19:29 ` [PATCH v2 3/4] band: return -ENETUNREACH for HE " James Prestwood
2024-04-15 19:29 ` [PATCH v2 4/4] unit: fix test-band with new rate estimation returns James Prestwood
2024-04-15 21:52 ` [PATCH v2 1/4] wiphy: include MAC of BSS with invalid HE capabilities Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240415192948.65857-1-prestwoj@gmail.com \
--to=prestwoj@gmail.com \
--cc=iwd@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).