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

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