]> err.no Git - linux-2.6/commit
libertas: store rssi as an u32
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Wed, 19 Mar 2008 16:08:32 +0000 (17:08 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 25 Mar 2008 20:41:50 +0000 (16:41 -0400)
commitff829ae01644c10722132a45981615be962c4a5c
treeb86f3d285af36523a6960400c715f6d596b0c3d2
parente98a88dd33b7188ce84533e128101dd9630ae592
libertas: store rssi as an u32

Don't store an (hardware base) u8 value in bss_descriptor, but just an
unsigned int (RSSI is really unsigned). Compilers generate more efficent
code for ints than for bytes.

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/debugfs.c
drivers/net/wireless/libertas/scan.c
drivers/net/wireless/libertas/scan.h