commit | 8795ca61e4ff3db70f2d072a28aaefc29f1a2301 | [log] [tgz] |
---|---|---|
author | Avinash Patil <patila@marvell.com> | Mon Jul 22 19:17:46 2013 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Jul 24 11:02:07 2013 -0400 |
tree | 526845a559226dd1f26e6e4ea4496d4220ce3404 | |
parent | 5e4c07987f4db22cbc3e1dadb021baab0a34a57f [diff] |
mwifiex: correct max IE length check for WPS IE This patch is bug fix for an invalid boundry check for WPS IE. We should check max IE length against defined macro; instead we were checking it against size of pointer. Fix it. Also move IE length check before allocation of memory. Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>