ath10k: fix debugfs pktlog_filter write
authorAnilkumar Kolli <akolli@qti.qualcomm.com>
Fri, 11 Mar 2016 06:16:39 +0000 (11:46 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 18 Mar 2016 07:57:11 +0000 (09:57 +0200)
commit9ddc486aa09a3413a6c492fcf160ce61bfccb7b1
tree52f4eb8706c1ad0484496c46ccf15bffc226a742
parentb9c191be3fbdd9d78be11160dd7a3ddb9fdc6d42
ath10k: fix debugfs pktlog_filter write

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")
Cc: stable@vger.kernel.org
Signed-off-by: Anilkumar Kolli <akolli@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/debug.c
This page took 0.024311 seconds and 5 git commands to generate.