brcmfmac: fix missing unlock on error in brcmf_notify_vif_event()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 22 Feb 2013 13:32:20 +0000 (21:32 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 22 Feb 2013 19:50:47 +0000 (14:50 -0500)
commitdc4a787c8f52f9d6e46156953f8014a3353bcbc7
treed8b8551f0f18968fb79f4201e79952023fa33e9e
parent48f4d91679c0e0b26747f8adbb18e5212eb6d621
brcmfmac: fix missing unlock on error in brcmf_notify_vif_event()

Add the missing unlock before return from function brcmf_notify_vif_event()
in the error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c