diff options
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-tx.c b/drivers/net/wireless/iwlwifi/iwl-tx.c index d82823b5c8ab..dac34aa8358e 100644 --- a/drivers/net/wireless/iwlwifi/iwl-tx.c +++ b/drivers/net/wireless/iwlwifi/iwl-tx.c | |||
@@ -126,7 +126,7 @@ int iwl_hw_txq_attach_buf_to_tfd(struct iwl_priv *priv, void *ptr, | |||
126 | u32 num_tbs = IWL_GET_BITS(*tfd, num_tbs); | 126 | u32 num_tbs = IWL_GET_BITS(*tfd, num_tbs); |
127 | 127 | ||
128 | /* Each TFD can point to a maximum 20 Tx buffers */ | 128 | /* Each TFD can point to a maximum 20 Tx buffers */ |
129 | if ((num_tbs >= MAX_NUM_OF_TBS) || (num_tbs < 0)) { | 129 | if (num_tbs >= MAX_NUM_OF_TBS) { |
130 | IWL_ERROR("Error can not send more than %d chunks\n", | 130 | IWL_ERROR("Error can not send more than %d chunks\n", |
131 | MAX_NUM_OF_TBS); | 131 | MAX_NUM_OF_TBS); |
132 | return -EINVAL; | 132 | return -EINVAL; |