rtlwifi: rtl8192cu: Fix endianian issues
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 17 Nov 2011 18:14:44 +0000 (12:14 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Nov 2011 21:20:46 +0000 (16:20 -0500)
commitabfabc9b48f6943dbb707fcfc2ef2a04c329e3e8
tree608f73989a2fe7d5f5967cd6ab76701ed2f6d173
parentff6ff96b5ba5b39f7ab3d8ea0cf9ec414452ac92
rtlwifi: rtl8192cu: Fix endianian issues

Driver rtlwifi fails on a big-endian host.

These changes have been tested on a Mac PowerBook G4, which has
a PPC processor.

Although this patch touches some of the code that will affect endian
issues on PCI hardware through drivers rtl8192ce, rtl8192se, and
rtl8192de, these have not been tested due to lack of suitable hardware.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/base.c
drivers/net/wireless/rtlwifi/base.h
drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c
drivers/net/wireless/rtlwifi/rtl8192c/fw_common.h
drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
drivers/net/wireless/rtlwifi/rtl8192cu/trx.c
drivers/net/wireless/rtlwifi/usb.c