rsi: Fixed errors and warnings reported by static code analyzers.
authorJahnavi Meher <jahnavi.meher@gmail.com>
Wed, 25 Jun 2014 10:17:45 +0000 (15:47 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 25 Jun 2014 19:40:40 +0000 (15:40 -0400)
commit688df7ec26ffde2c8d79b0ac1a3378155da59ff2
tree2b35777d4be83942c174cc3faf831ba6fd97c573
parent80140b71e0bd2d9f6762791567cfd0aa04f20419
rsi: Fixed errors and warnings reported by static code analyzers.

Fixed a potential buffer overflow in 'rsi_rates' and a sparse warning
related to difference in endianness in rsi_91x_mgmt.c.

Signed-off-by: Jahnavi Meher <jahnavi.meher@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rsi/rsi_91x_mgmt.c