diff options
author | Ido Yariv <ido@wizery.com> | 2010-09-22 09:53:13 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-09-27 15:57:38 -0400 |
commit | 67e0208acea29682f5766eb9f67f6f26117eef3e (patch) | |
tree | 39445bd52a7c310d5f70b94aa0c257fdd1a8669b /drivers/net/3c527.c | |
parent | 87fd2e6c90acb45a5741207fc953190596f93841 (diff) |
wl1271: Fix overflow in wl1271_boot_upload_nvs
Due to miscalculation of nvs_len, excessive data was sent to the
firmware.
Fix this by first setting nvs_ptr to point to the first NVS table,
and computing the total size of all NVS tables accordingly.
Signed-off-by: Ido Yariv <ido@wizery.com>
Tested-By: Tuomas Katila <ext-tuomas.2.katila@nokia.com>
Acked-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/3c527.c')
0 files changed, 0 insertions, 0 deletions