diff options
author | Avinash Patil <patila@marvell.com> | 2013-07-23 02:17:46 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-07-24 15:02:07 (GMT) |
commit | 8795ca61e4ff3db70f2d072a28aaefc29f1a2301 (patch) | |
tree | 526845a559226dd1f26e6e4ea4496d4220ce3404 /drivers/xen | |
parent | 5e4c07987f4db22cbc3e1dadb021baab0a34a57f (diff) | |
download | linux-fsl-qoriq-8795ca61e4ff3db70f2d072a28aaefc29f1a2301.tar.xz |
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>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions