]> git.karo-electronics.de Git - linux-beck.git/commit
brcm80211: fmac: use spinlock calls saving irq flags in brcmf_enq_event()
authorArend van Spriel <arend@broadcom.com>
Thu, 9 Feb 2012 20:09:07 +0000 (21:09 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Feb 2012 19:48:53 +0000 (14:48 -0500)
commitcf44066a3836847a74f6a0817c680726b796239f
treee287881bb1b913e79e3e9cf3ef92eba032a1b13b
parentbcbec9e777cc66fbbeb386c42d8af680fc941da7
brcm80211: fmac: use spinlock calls saving irq flags in brcmf_enq_event()

This function is executed within irq context. The call spin_unlock_irq
does enable interrupts which is not desired in the irq context. This patch
replaces them using the spin_loc_irqsave and spin_unlock_irqrestore
functions.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Kan Yan <kanyan@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/wl_cfg80211.c