From: Emmanuel Grumbach Date: Sat, 7 Jan 2017 18:11:47 +0000 (+0200) Subject: iwlwifi: pcie: don't increment / decrement a bool X-Git-Tag: v4.11-rc1~124^2~152^2^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04fa3e680b4dd2fdd11d0152fb9b6067e7aac140;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Emmanuel Grumbach Signed-off-by: Luca Coelho --- diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/internal.h b/drivers/net/wireless/intel/iwlwifi/pcie/internal.h index cf5bda0..1093730 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;