summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/pcie
diff options
context:
space:
mode:
authorEmmanuel Grumbach2017-01-07 19:11:47 +0100
committerLuca Coelho2017-02-08 16:54:09 +0100
commit04fa3e680b4dd2fdd11d0152fb9b6067e7aac140 (patch)
treec04bdf5c62d768ead361d599b611afb26e196d8c /drivers/net/wireless/intel/iwlwifi/pcie
parentiwlwifi: mvm: use the PROBE_RESP_QUEUE to send deauth to unknown station (diff)
downloadkernel-qcow2-linux-04fa3e680b4dd2fdd11d0152fb9b6067e7aac140.tar.gz
kernel-qcow2-linux-04fa3e680b4dd2fdd11d0152fb9b6067e7aac140.tar.xz
kernel-qcow2-linux-04fa3e680b4dd2fdd11d0152fb9b6067e7aac140.zip
iwlwifi: pcie: don't increment / decrement a bool
David reported that the code I added uses the decrement and increment operator on a boolean variable. Fix that. Fixes: 0cd58eaab148 ("iwlwifi: pcie: allow the op_mode to block the tx queues") Reported-by: David Binderman <dcb314@hotmail.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/pcie')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/pcie/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/internal.h b/drivers/net/wireless/intel/iwlwifi/pcie/internal.h
index cf5bda06042c..10937309641a 100644
--- a/drivers/net/wireless/intel/iwlwifi/pcie/internal.h
+++ b/drivers/net/wireless/intel/iwlwifi/pcie/internal.h
@@ -279,7 +279,7 @@ struct iwl_txq {
bool frozen;
u8 active;
bool ampdu;
- bool block;
+ int block;
unsigned long wd_timeout;
struct sk_buff_head overflow_q;