]> git.baikalelectronics.ru Git - kernel.git/commit
wl1271: upload only the first 468 bytes from the NVS file
authorLuciano Coelho <luciano.coelho@nokia.com>
Fri, 11 Dec 2009 13:40:53 +0000 (15:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Dec 2009 21:31:32 +0000 (16:31 -0500)
commite20b633a733350e978aef0722e8cc3f42698ed49
treecdf15048787724c4644e5c0c3664f616ad9256d6
parent7d968ceaf051c0794f50280e52ce97695e91243b
wl1271: upload only the first 468 bytes from the NVS file

We were uploading the whole NVS file, but that is wrong, because the same
file also contains the initialization values.  For the latest firmwares, we
should upload only the initial 468 bytes from the file.

Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1271.h
drivers/net/wireless/wl12xx/wl1271_boot.c