summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271.h
diff options
context:
space:
mode:
authorLuciano Coelho <luciano.coelho@nokia.com>2009-12-11 15:40:53 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-12-28 16:31:32 -0500
commit8cf5e8e509950237fa0982235a703348d8b6e670 (patch)
treecdf15048787724c4644e5c0c3664f616ad9256d6 /drivers/net/wireless/wl12xx/wl1271.h
parent98b2a68473ae975bc4abdeb66cd719ccfdad9d4a (diff)
downloadlinux-8cf5e8e509950237fa0982235a703348d8b6e670.tar.gz
linux-8cf5e8e509950237fa0982235a703348d8b6e670.tar.bz2
linux-8cf5e8e509950237fa0982235a703348d8b6e670.zip
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>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271.h')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl1271.h
index 3bec6f3b1c7f..8dfc9ec9590d 100644
--- a/drivers/net/wireless/wl12xx/wl1271.h
+++ b/drivers/net/wireless/wl12xx/wl1271.h
@@ -111,6 +111,7 @@ enum {
#define WL1271_FW_NAME "wl1271-fw.bin"
#define WL1271_NVS_NAME "wl1271-nvs.bin"
+#define WL1271_NVS_LEN 468
/*
* Enable/disable 802.11a support for WL1273