]> git.baikalelectronics.ru Git - kernel.git/commit
p54: fix EEPROM structure endianness
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 29 Feb 2008 12:56:33 +0000 (13:56 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Mar 2008 23:36:36 +0000 (18:36 -0500)
commitc87b7cf03f4b2287fccb5de1c00d8afa310cc2f4
tree92a88fa9606aff0e0325b2cc4c328a395866541e
parent07698d37e0b5813a804f94e77d7168343270499e
p54: fix EEPROM structure endianness

Since the EEPROM structure is read from hardware, it is
always little endian, annotate that in the struct and
make sure to convert where applicable.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Michael Wu <flamingice@sourmilk.net>
Tested-by: Florian Fainelli <florian.fainelli@telecomint.eu>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54common.c
drivers/net/wireless/p54common.h