commit | 67e0208acea29682f5766eb9f67f6f26117eef3e | [log] [tgz] |
---|---|---|
author | Ido Yariv <ido@wizery.com> | Wed Sep 22 09:53:13 2010 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Sep 27 15:57:38 2010 -0400 |
tree | 39445bd52a7c310d5f70b94aa0c257fdd1a8669b | |
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>