airo: fix endianness bug in ->dBm handling
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 20 Dec 2007 00:20:12 +0000 (19:20 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:08:50 +0000 (15:08 -0800)
commit851b3e5e3de0feea7bfee634f99a940648de58c8
tree032fb6cc78ea998127aa9cd81acd718dad8ac81f
parent977b143c13e685081625704ac356b741d71c6a73
airo: fix endianness bug in ->dBm handling

airo_translate_scan() reads BSSListRid directly, does _not_ byteswap
and uses ->dBm (__le16) as host-endian.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/airo.c