3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 04:32:37 +01:00

station: print unknown channel number in neighbor report

If the channel number resulted in a failure to parse the neighbor
report entry, print it for debugging.
This commit is contained in:
James Prestwood 2024-07-18 04:45:04 -07:00 committed by Denis Kenzior
parent 4f81953338
commit 9ea0117dc4

View File

@ -1835,7 +1835,7 @@ static uint32_t station_freq_from_neighbor_report(const uint8_t *country,
band = BAND_FREQ_5_GHZ;
else {
l_debug("Ignored: 0 oper class with an unusual "
"channel number");
"channel number %u", info->channel_num);
return 0;
}