mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-02 17:42:34 +01:00
scan: Log BSSID in messages
If there is an error with the BSSID information, log the BSSID station address to catch the offending Access Point.
This commit is contained in:
parent
635c530e5e
commit
0b1e6cc3e5
@ -794,7 +794,8 @@ static bool scan_parse_bss_information_elements(struct scan_bss *bss,
|
|||||||
if (ie_parse_supported_rates(&iter,
|
if (ie_parse_supported_rates(&iter,
|
||||||
&bss->supported_rates) < 0)
|
&bss->supported_rates) < 0)
|
||||||
l_warn("Unable to parse [Extended] "
|
l_warn("Unable to parse [Extended] "
|
||||||
"Supported Rates IE");
|
"Supported Rates IE for "
|
||||||
|
MAC, MAC_STR(bss->addr));
|
||||||
break;
|
break;
|
||||||
case IE_TYPE_RSN:
|
case IE_TYPE_RSN:
|
||||||
if (!bss->rsne)
|
if (!bss->rsne)
|
||||||
@ -804,7 +805,8 @@ static bool scan_parse_bss_information_elements(struct scan_bss *bss,
|
|||||||
case IE_TYPE_BSS_LOAD:
|
case IE_TYPE_BSS_LOAD:
|
||||||
if (ie_parse_bss_load(&iter, NULL, &bss->utilization,
|
if (ie_parse_bss_load(&iter, NULL, &bss->utilization,
|
||||||
NULL) < 0)
|
NULL) < 0)
|
||||||
l_warn("Unable to parse BSS Load IE");
|
l_warn("Unable to parse BSS Load IE for "
|
||||||
|
MAC, MAC_STR(bss->addr));
|
||||||
else
|
else
|
||||||
l_debug("Load: %u/255", bss->utilization);
|
l_debug("Load: %u/255", bss->utilization);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user