]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: fix IE parsing issues
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 17 Apr 2014 05:01:53 +0000 (22:01 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Apr 2014 19:06:30 +0000 (15:06 -0400)
commit2b88c62d6de0fdc416bc6f44e6cf691ebf16c0bc
treea6fdd522611a34643b6e0ce64090a05a9f6d1107
parent2fa7338f8517c5bc9b1689b313df3f515cec987c
mwifiex: fix IE parsing issues

IE's are parsed from beacon buffer and stored locally using
mwifiex_update_bss_desc_with_ie() function.
Sometimes the local pointers point to the data inside IE, but
while using them it is assumed that they are pointing to the IE
itself.

These issues are fixed in this patch.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
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>
drivers/net/wireless/mwifiex/11ac.c
drivers/net/wireless/mwifiex/11n.c
drivers/net/wireless/mwifiex/scan.c