]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: use vmalloc to allocate mem for the firmware
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 18 May 2012 18:22:53 +0000 (20:22 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 25 May 2012 15:16:16 +0000 (11:16 -0400)
commitf9bf236608c284bf28c8eafb1e1a2330e7764780
tree23b4683dc5897953fb92088301264c7ddc3ac23a
parent5c9678ed50cb103a673700e243d2df7a391e6f37
brcmfmac: use vmalloc to allocate mem for the firmware

The firmware is more than 300KB big and you should not use kmalloc for
such big allocations. This allocation with kmalloc failed on my mips
based device (BCM47186).

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/usb.c