From: Ido Yariv Date: Wed, 22 Sep 2010 07:53:13 +0000 (+0200) Subject: wl1271: Fix overflow in wl1271_boot_upload_nvs X-Git-Tag: v2.6.37-rc1~147^2~265^2^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67e0208acea29682f5766eb9f67f6f26117eef3e;p=pandora-kernel.git 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 Tested-By: Tuomas Katila Acked-by: Luciano Coelho Signed-off-by: John W. Linville --- Reading git-diff-tree failed