mwifiex: fix IE parsing issues
commitcf831ffe4473d2e500912af20244336a1534685a
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 17 Apr 2014 05:01:53 +0000 (16 22:01 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Apr 2014 19:06:30 +0000 (22 15:06 -0400)
treea6fdd522611a34643b6e0ce64090a05a9f6d1107
parent3977a6477dd1e53fac2016a719a3c2cb2cdba771
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