]> git.karo-electronics.de Git - karo-tx-linux.git/commit
airo: sanitize BSSListRid handling
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 19 Dec 2007 23:56:37 +0000 (18:56 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:09:00 +0000 (15:09 -0800)
commit17e70491404c73012a7991a068ba62ec59bebdb2
treefbc490bfee01cc7cb0f3bde3b510fabfdf16c704
parentb8c06bc1f39a0311cb0f41099be03ee2b202aeae
airo: sanitize BSSListRid handling

Stop byteswap-in-place in readBSSListRid(), annotate the sucker.
BTW, that had immediately found a bug - another codepath fetching
the same struct from card did _not_ byteswap, but used ->dBm the
same as everything else - host-endian.  Fix in the next patch...

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