staging: brcm80211: bugfix for softmac crash on multi cpu configurations
authorRoland Vossen <rvossen@broadcom.com>
Tue, 25 Jan 2011 10:51:56 +0000 (11:51 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 2 Feb 2011 23:06:15 +0000 (15:06 -0800)
commit6a3be6e6e7feb4cb35275475d6a863b748d59cc3
tree704976f04ac6ac1bfa14899b067136b6eb879277
parent454f1419f14a459b31af83e512adcc714fa0e5e5
staging: brcm80211: bugfix for softmac crash on multi cpu configurations

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>
Cc: stable <stable@kernel.org>
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