brcmfmac: use firmware data buffer directly for nvram
authorFranky Lin <frankyl@broadcom.com>
Tue, 26 Jun 2012 19:26:37 +0000 (21:26 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 27 Jun 2012 19:23:18 +0000 (15:23 -0400)
commitd610cde30b009ac3dbcd1ae5d7d55fa4c7d066fa
tree25d9c7da04c21e5fabb5ff9ca22e03023d896e9d
parentc3d2bc35e53dc0dcb85f4f4f06486ecd99143615
brcmfmac: use firmware data buffer directly for nvram

The nvram file could be parsed directly in the data buffer in the
firmware structure passed by request_firmware function. This patch
gets rid of the redundant memcpy.

Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c