From 9ea0117dc443157b4be1c98289e6b5fc0012c2d1 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Thu, 18 Jul 2024 04:45:04 -0700 Subject: [PATCH] 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. --- src/station.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/station.c b/src/station.c index 509d919c..3ead4326 100644 --- a/src/station.c +++ b/src/station.c @@ -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; }