brcm80211: fmac: change allocation flag in brcmf_enq_event() function
authorArend van Spriel <arend@broadcom.com>
Thu, 9 Feb 2012 20:09:06 +0000 (21:09 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Feb 2012 19:48:52 +0000 (14:48 -0500)
commitbcbec9e777cc66fbbeb386c42d8af680fc941da7
treea6af0eb34af6057c4a6bef68ac1298cdc874c397
parent1bb1f38462bcf58cf98d8f7bedf2bfefd394f940
brcm80211: fmac: change allocation flag in brcmf_enq_event() function

As the function is called from atomic context it should not do the
kzalloc call with GFP_KERNEL.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Kan Yan <kanyan@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@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