linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac
Takashi Iwai b1c2d0f250 brcmsmac: allocate ucode with GFP_KERNEL
The brcms_ucode_init_buf() duplicates the ucode chunks via kmemdup()
with GFP_ATOMIC as a precondition of wl->lock acquired.  This caused
allocation failures sometimes as reported in the bugzilla below.

When looking at the the real usage, one can find that it's called
solely from brcms_request_fw(), and it's obviously outside the lock.
Hence we can use GFP_KERNEL there safely for avoiding such allocation
errors.

Bugzilla: http://bugzilla.suse.com/show_bug.cgi?id=1085174
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-03-27 12:09:05 +03:00
..
phy brcmsmac: use ARRAY_SIZE on rfseq_updategainu_events 2017-12-14 14:40:08 +02:00
aiutils.c
aiutils.h
ampdu.c
ampdu.h
antsel.c
antsel.h
brcms_trace_brcmsmac_msg.h
brcms_trace_brcmsmac_tx.h
brcms_trace_brcmsmac.h
brcms_trace_events.c
brcms_trace_events.h
channel.c brcmsmac: remove duplicated bit-wise or of IEEE80211_CHAN_NO_IR 2018-02-27 18:25:12 +02:00
channel.h
d11.h
debug.c wireless: Use octal not symbolic permissions 2018-03-27 11:01:13 +03:00
debug.h
dma.c brcmsmac: Free packet if dma_mapping_error() fails in dma_rxfill 2016-07-19 21:14:20 +03:00
dma.h
led.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
led.h
mac80211_if.c brcmsmac: allocate ucode with GFP_KERNEL 2018-03-27 12:09:05 +03:00
mac80211_if.h
main.c mac80211: separate encoding/bandwidth from flags 2017-04-28 10:41:45 +02:00
main.h
Makefile Makefile: drop -D__CHECK_ENDIAN__ from cflags 2016-12-16 00:13:43 +02:00
phy_shim.c
phy_shim.h
pmu.c
pmu.h
pub.h
rate.c
rate.h
scb.h
stf.c brcmsmac: Initialize power in brcms_c_stf_ss_algo_channel_get() 2016-07-19 21:14:20 +03:00
stf.h
types.h
ucode_loader.c
ucode_loader.h