From d267a5f4fb99dc5e6832791c768a876a33d54f67 Mon Sep 17 00:00:00 2001 From: Xianjun Jiao Date: Tue, 29 Mar 2022 12:34:51 +0200 Subject: [PATCH] Add more info when the rx pkt content is abnormal in openwifi_rx_interrupt() --- driver/sdr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/driver/sdr.c b/driver/sdr.c index 64be6a1..28eb889 100644 --- a/driver/sdr.c +++ b/driver/sdr.c @@ -451,7 +451,8 @@ static irqreturn_t openwifi_rx_interrupt(int irq, void *dev_id) // } content_ok = true; } else { - printk("%s openwifi_rx: WARNING content!\n", sdr_compatible_str); + printk("%s openwifi_rx: WARNING content! len%d overflow%d rate_idx%d\n", sdr_compatible_str, + len, len_overflow, rate_idx); content_ok = false; }