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)
commitedb9bc9a1e08f54adfdb4f4d31bca5a15aeb8ef0
tree23b4683dc5897953fb92088301264c7ddc3ac23a
parent885ba1da689299ec52e646ca1a2429b8de55f364
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