brcm80211: smac: change buffer endianess convert function interface
authorArend van Spriel <arend@broadcom.com>
Fri, 21 Oct 2011 14:16:35 +0000 (16:16 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Nov 2011 20:54:26 +0000 (15:54 -0500)
commit028f78d43d80dcb8b1142ea38606067151dd3d51
tree70d6e7bdd7dc177c71cf982d2a082ffca28d53d6
parentd1a5b6fbecc52323acf05fa7881267071933c92e
brcm80211: smac: change buffer endianess convert function interface

The buffer endianess conversion functions in srom.c had a size
argument giving number of bytes but the function converts words.
Providing the number of words to the function is more sensible
so that is done in this patch.

Reported-by: Pavel Roskin <proski@gnu.org>
Reported-by: Larry Finger <Larry.Finger@lwfinger.net>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Alwin Beukers <alwin@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmsmac/srom.c