rtl8188eu: Convert from endian defined in Makefile to use architecture-defined value

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-05-15 13:57:38 -05:00
parent 2951f6bc15
commit dc7c8c0b5d
10 changed files with 31 additions and 97 deletions

View file

@ -63,7 +63,7 @@ struct rsn_ie_hdr {
}__attribute__ ((packed));
struct wme_ac_parameter {
#if defined(CONFIG_LITTLE_ENDIAN)
#if defined(__LITTLE_ENDIAN)
/* byte 1 */
u8 aifsn:4,
acm:1,
@ -73,7 +73,7 @@ struct wme_ac_parameter {
/* byte 2 */
u8 eCWmin:4,
eCWmax:4;
#elif defined(CONFIG_BIG_ENDIAN)
#elif defined(__BIG_ENDIAN)
/* byte 1 */
u8 reserved:1,
aci:2,