Skip to content
Snippets Groups Projects
Commit bc2923ab authored by Nico's avatar Nico Committed by FFS Buildbot
Browse files

fix compile for NWA650AX

parent 9c0d74f6
Branches
Tags experimental-2024-06-07-base
No related merge requests found
......@@ -4,17 +4,17 @@ 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..998f2d73c1c072441a0e47ce0c4f9f9870972962
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
+@@ -2363,6 +2363,10 @@ static void sta_stats_decode_rate(struct
+@@ -2355,6 +2355,10 @@ static void sta_stats_decode_rate(struct
+
+ sband = local->hw.wiphy->bands[band];
+
++ printf("sband = %p, band = 0x%x\n", sband, band);
++ printk("sband = %p, band = 0x%x\n", sband, band);
++ if (!sband)
++ break;
++
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment