diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2017-01-07 13:11:47 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-14 08:00:16 -0400 |
commit | 9c8655c0a86099a45669f5ed38120584a9e13b11 (patch) | |
tree | debe55cf0932283283c8269dc55ccf6875d1bf43 | |
parent | 948634492b4069a208934a64781b85cfa70e198b (diff) |
iwlwifi: pcie: don't increment / decrement a bool
commit 04fa3e680b4dd2fdd11d0152fb9b6067e7aac140 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/pcie/internal.h | 2 |
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 cac6d99012b3..e3cede979751 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 { | |||
279 | bool frozen; | 279 | bool frozen; |
280 | u8 active; | 280 | u8 active; |
281 | bool ampdu; | 281 | bool ampdu; |
282 | bool block; | 282 | int block; |
283 | unsigned long wd_timeout; | 283 | unsigned long wd_timeout; |
284 | struct sk_buff_head overflow_q; | 284 | struct sk_buff_head overflow_q; |
285 | 285 | ||