brcm80211: fix sparse endianess error in mac80211_if.c
authorArend van Spriel <arend@broadcom.com>
Wed, 12 Oct 2011 18:51:15 +0000 (20:51 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Oct 2011 18:48:17 +0000 (14:48 -0400)
commitdf4492f89499fa5ba45f8fdfe1f100b4112f5368
treec2ce2c5827ed757a26cd35e8bbf3fb81da0e774a
parentaf5349581c01780824d3229fc958354c1f7e9c91
brcm80211: fix sparse endianess error in mac80211_if.c

The ht capabilities provided upon registration with mac80211 must
be in little endian. This was fixed adding cpu_to_le16() conversion.

Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c