]> git.karo-electronics.de Git - linux-beck.git/commit
staging: brcm80211: fix perimeter locking in wl_ops_bss_info_changed
authorArend van Spriel <arend@broadcom.com>
Mon, 9 May 2011 14:32:53 +0000 (16:32 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 May 2011 18:03:55 +0000 (11:03 -0700)
commitc876ce07dae448e45a98a99f3bcc3145c6271353
treecc05cdf517162161660d3076a3c4e29fd178e36b
parentdc762c4f8514f23094927e0a62ef305d90651535
staging: brcm80211: fix perimeter locking in wl_ops_bss_info_changed

Several code path in the wl_ops_bss_info_changed() callback were not
using the perimeter lock. This gives potential of raise conditions
so lock/unlock calls have been added.

Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Reviewed-by: Roland Vossen <rvossen@broadcoom.com>
Reviewed-by: Henry Ptasinski <henryp@broadcom.com>
Reviewed-by: Brett Rudley <brudley@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/wl_mac80211.c