]> 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)
commit19c6a4e3ed78790ffc8292af82b4a2916af152ff
treea6fdd522611a34643b6e0ce64090a05a9f6d1107
parent467ef6d6d9e5ff94cc91910db3f46a0170d5828f
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