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

fix compile for NWA650AX

parent 868d2a9f
No related branches found
No related tags found
No related merge requests found
...@@ -4,17 +4,17 @@ Subject: mac80211: add patch for debug output for NWA50AX Pro issues ...@@ -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 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 new file mode 100644
index 0000000000000000000000000000000000000000..998f2d73c1c072441a0e47ce0c4f9f9870972962 index 0000000000000000000000000000000000000000..d2efe966d176b4fdada359d9c5bd80c71195bc63
--- /dev/null --- /dev/null
+++ b/package/kernel/mac80211/patches/build/900-ffs-debug.patch +++ b/package/kernel/mac80211/patches/build/900-ffs-debug.patch
@@ -0,0 +1,13 @@ @@ -0,0 +1,13 @@
+--- a/net/mac80211/sta_info.c +--- a/net/mac80211/sta_info.c
++++ b/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]; + 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) ++ if (!sband)
++ break; ++ break;
++ ++
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment