staging: brcm80211: bugfix for softmac crash on multi cpu configurations
authorRoland Vossen <rvossen@broadcom.com>
Thu, 24 Feb 2011 20:42:19 +0000 (21:42 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Mar 2011 23:05:09 +0000 (15:05 -0800)
commit36dc1b24c025080ae6c4894d6e9ea240c23794af
tree0191a61b67d1d134473f148aaaa4ebbbc731f425
parenta1621f168e4209c68023d4060ec77b8c9ec18547
staging: brcm80211: bugfix for softmac crash on multi cpu configurations

commit 6a3be6e6e7feb4cb35275475d6a863b748d59cc3 upstream

Solved a locking issue that resulted in driver crashes with the 43224 and 43225
chips. The problem has been reported on several fora. Root cause was two fold:
hardware was being manipulated by two unsynchronized threads, and a scan
operation could interfere with an ongoing dynamic calibration process. Fix was
to invoke a lock on wl_ops_config() operation and to set internal flags when a
scan operation is started and stopped.

Please add this to the staging-linus branch.

Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/sys/wl_mac80211.c
drivers/staging/brcm80211/sys/wlc_mac80211.c
drivers/staging/brcm80211/sys/wlc_pub.h