]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb1bfe08816c360d30ec53a3be24f83658ee064d7
tree391940e564df56caed3c1146e4a0601cab3988de
parentc08bf3f079a3c216f063ae2ac646b2d64127177f
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