drivers/net/wireless/iwlwifi/iwl-3945.c Fix type issue on 64bit
authorDarren Jenkins <darrenrjenkins@gmail.com>
Wed, 2 Jul 2008 23:41:38 +0000 (09:41 +1000)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Jul 2008 19:29:28 +0000 (15:29 -0400)
commit0ff1cca0e272045b9c11a2ff94bd3e6893c9308c
tree0c444007df7337c4a8ffbca237325d56133d3635
parentfcee7a01ad7516eeb8dfdd0a17ef04cd2ee30757
drivers/net/wireless/iwlwifi/iwl-3945.c Fix type issue on 64bit

Coverity CID: 2265 NEGATIVE_RETURNS

"rate" is of an unsigned type, and the code requires a signed type.
The following patch makes it so.

Signed-off-by: Darren Jenkins <darrenrjenkins@gmailcom>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-3945.c