brcmfmac: use lock in brcmf_fws_del_interface()
authorArend van Spriel <arend@broadcom.com>
Wed, 17 Apr 2013 19:25:55 +0000 (21:25 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Apr 2013 19:20:22 +0000 (15:20 -0400)
commit6d421e54c2277990f3b0e3dd92e446800c90efa3
treeb4b148d49d66344a38ef1b8c31beefb6c5078350
parenta5e9d805f907bb910fe3d10a721c24f6a4ee8237
brcmfmac: use lock in brcmf_fws_del_interface()

When deleting an interface in firmware-signalling module it will
clear any destination descriptors. To avoid concurrency issues it
should take the lock using brcmf_fws_lock().

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c