staging: brcm80211: smac: fix for 64 bit systems
authorRoland Vossen <rvossen@broadcom.com>
Tue, 4 Oct 2011 21:19:12 +0000 (23:19 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 5 Oct 2011 20:39:05 +0000 (13:39 -0700)
commitd0f5527d3949db767425dc84f0e8547824b74708
tree1027dfacd0d360c1078b4ed102f838c510c5dea2
parent8be00d98f167b95fac8886d60f9942ef0c744445
staging: brcm80211: smac: fix for 64 bit systems

A bug was introduced by the following commit (Sep 13):

    staging: brcm80211: use endian annotated structures in brcmsmac

Result was that 64 bits systems will not be able to acquire an IP address.
Also the rmmod crashed. This has been fixed and retested on a Sparc64.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Alwin Beukers <alwin@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/mac80211_if.c
drivers/staging/brcm80211/brcmsmac/ucode_loader.h