iwlwifi: signedness bug in iwl_trans_pcie_tx_agg_alloc()
authorDan Carpenter <error27@gmail.com>
Wed, 31 Aug 2011 06:38:30 +0000 (09:38 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Sep 2011 19:48:48 +0000 (15:48 -0400)
commit4690c33df6be8bf78a0d5fe58baae33462b0bc1f
tree76b2585978beea7d17150d36f3b3e0ef4c6f2ef0
parent427977ab2e24bb76c733cc50be97d4262028f14a
iwlwifi: signedness bug in iwl_trans_pcie_tx_agg_alloc()

unsigned shorts and unsigned chars are never == -1.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-trans-tx-pcie.c