From: Nico <github@nicoboehr.de> Date: Tue, 12 Sep 2023 17:41:23 +0000 Subject: mac80211: add patch for debug output for NWA50AX Pro issues diff --git a/package/kernel/mac80211/patches/build/900-ffs-debug.patch b/package/kernel/mac80211/patches/build/900-ffs-debug.patch new file mode 100644 index 0000000000000000000000000000000000000000..d2efe966d176b4fdada359d9c5bd80c71195bc63 --- /dev/null +++ b/package/kernel/mac80211/patches/build/900-ffs-debug.patch @@ -0,0 +1,13 @@ +--- a/net/mac80211/sta_info.c ++++ b/net/mac80211/sta_info.c +@@ -2355,6 +2355,10 @@ static void sta_stats_decode_rate(struct + + sband = local->hw.wiphy->bands[band]; + ++ printk("sband = %p, band = 0x%x\n", sband, band); ++ if (!sband) ++ break; ++ + if (WARN_ON_ONCE(!sband->bitrates)) + break; +