]> 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)
commit7132f2f6c7ff2332c0eeefde858ba4930c5f1b0c
tree23b4683dc5897953fb92088301264c7ddc3ac23a
parentf7ff9702c3083a8e93288b4e18ba192067e38ee2
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