]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ath10k: fix debugfs pktlog_filter write
authorAnilkumar Kolli <akolli@qti.qualcomm.com>
Fri, 11 Mar 2016 06:16:39 +0000 (11:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 01:23:36 +0000 (18:23 -0700)
commit1840f2b66f16df8c997ad8043c3d736e2dbce2c9
treee73b56c66b6138eda4437c8a6c0da18204bd38f6
parent49ba5b374f6810bf4c3e0f5f3c2fa23a80d547e1
ath10k: fix debugfs pktlog_filter write

commit 9ddc486aa09a3413a6c492fcf160ce61bfccb7b1 upstream.

It is observed that, we are disabling the packet log if we write same
value to the pktlog_filter for the second time. Always enable pktlogs
on non zero filter.

Fixes: 90174455ae05 ("ath10k: add support to configure pktlog filter")
Signed-off-by: Anilkumar Kolli <akolli@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ath/ath10k/debug.c