OSDN Git Service

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)
commit8c28293f5514f64ba064bac7946aebeda4a663c6
tree92a88fa9606aff0e0325b2cc4c328a395866541e
parentdc63644b0ee3b447e879ef8e124657b40e9ea81c
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