brcmfmac: reduce allocations needed during nvram data download
authorArend van Spriel <arend@broadcom.com>
Tue, 26 Jun 2012 19:26:38 +0000 (21:26 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 27 Jun 2012 19:23:18 +0000 (15:23 -0400)
commit6d4ef68086f54713b6c9dda478b8e3f749acb3ba
tree391940e564df56caed3c1146e4a0601cab3988de
parentd610cde30b009ac3dbcd1ae5d7d55fa4c7d066fa
brcmfmac: reduce allocations needed during nvram data download

The nvram data is preprocessed before being sent to the device
and just before sending an additional allocation was done that
assured word alignment of the data. This has moved to the
preprocessing step to reduce allocations and subsequent copying
of the nvram data.

Reviewed-by: Franky 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/dhd_sdio.c