]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
backports: ath10k fix logspam if channel was not set.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 26 Mar 2016 14:24:40 +0000 (15:24 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 26 Mar 2016 14:31:32 +0000 (15:31 +0100)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
lfs/backports
lfs/linux
src/patches/backports-4.2.6-1_ath10k_remove_logspam.patch [new file with mode: 0644]

index 39fa9b26bf783c44db92c3fd83ba4226d44984fe..12bd83ff5aeef94d9091a11696758da2aa09f156 100644 (file)
@@ -101,6 +101,7 @@ endif
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/backports-3.18.1-1_rt2x00usb_suppress_queue_warnings.patch
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/backports-4.2.6-1-mt7601_upstream_fixes.patch
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/backports-3.18.1-1_add_libertas_uap.patch
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/backports-4.2.6-1_ath10k_remove_logspam.patch
 
        # smsc mac address patch for pandaboard and raspberry pi
 ifeq "$(KCFG)" "-multi"
index 350203014a6c8f37a60fe7d77d067135c776f303..f7782ff395eec05c859c6521c193072abc124ae6 100644 (file)
--- a/lfs/linux
+++ b/lfs/linux
@@ -37,7 +37,7 @@ DIR_APP    = $(DIR_SRC)/$(THISAPP)
 CFLAGS     =
 CXXFLAGS   =
 
-PAK_VER    = 65
+PAK_VER    = 66
 DEPS      = ""
 
 KERNEL_ARCH = $(MACHINE)
diff --git a/src/patches/backports-4.2.6-1_ath10k_remove_logspam.patch b/src/patches/backports-4.2.6-1_ath10k_remove_logspam.patch
new file mode 100644 (file)
index 0000000..bdb1534
--- /dev/null
@@ -0,0 +1,12 @@
+diff -Naur backports-4.2.6-1.org/drivers/net/wireless/ath/ath10k/htt_rx.c backports-4.2.6-1/drivers/net/wireless/ath/ath10k/htt_rx.c
+--- backports-4.2.6-1.org/drivers/net/wireless/ath/ath10k/htt_rx.c     2015-11-15 22:19:40.000000000 +0100
++++ backports-4.2.6-1/drivers/net/wireless/ath/ath10k/htt_rx.c 2016-03-26 10:48:17.189430101 +0100
+@@ -1476,7 +1476,7 @@
+        */
+       if (!rx_status->freq) {
+-              ath10k_warn(ar, "no channel configured; ignoring frame(s)!\n");
++              ath10k_dbg(ar,ATH10K_DBG_DATA ,"no channel configured; ignoring frame(s)!\n");
+               return false;
+       }