From 36b2adc9ed86e21c9d9c1d9245c02e8f1c58956a Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sat, 26 Mar 2016 15:24:40 +0100 Subject: [PATCH] backports: ath10k fix logspam if channel was not set. Signed-off-by: Arne Fitzenreiter --- lfs/backports | 1 + lfs/linux | 2 +- .../backports-4.2.6-1_ath10k_remove_logspam.patch | 12 ++++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 src/patches/backports-4.2.6-1_ath10k_remove_logspam.patch diff --git a/lfs/backports b/lfs/backports index 39fa9b26bf..12bd83ff5a 100644 --- a/lfs/backports +++ b/lfs/backports @@ -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" diff --git a/lfs/linux b/lfs/linux index 350203014a..f7782ff395 100644 --- 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 index 0000000000..bdb1534c2d --- /dev/null +++ b/src/patches/backports-4.2.6-1_ath10k_remove_logspam.patch @@ -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; + } + -- 2.39.2