brcmsmac: use perimeter lock in add_interface() callback
authorArend van Spriel <arend@broadcom.com>
Wed, 2 Jan 2013 14:22:35 +0000 (15:22 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Jan 2013 20:16:55 +0000 (15:16 -0500)
commit66578c0a8cb8c34ef284acf34e05f2d8e7416ee1
treed0d8f90e095502859c63e25253e7c35b7308b6cd
parent01486c5ad388c8a38f2e075666e8c2ee32bda4b6
brcmsmac: use perimeter lock in add_interface() callback

All callbacks that access driver functions should do that under
perimeter lock protection. The add_interface() callback was lacking
this lock.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Piotr Haber <phaber@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/mac80211_if.c