mwifiex: fix WPA connection problem
authorchunfan chen <jeffc@marvell.com>
Mon, 14 Dec 2015 12:15:15 +0000 (04:15 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 30 Dec 2015 14:58:10 +0000 (16:58 +0200)
commit84a38fb3167e6cc25c4acfcbb79aa0d800542fd7
treebf8f58ebffce6a0f0a5a02189d818b4e86418475
parent19b0a71017aa6d14a32541b8917f1ddf00bad0cd
mwifiex: fix WPA connection problem

Device fails to connect to some AP's configured in WPA
security mode. Currently IE buffer parsing logic in driver
expects WPA IE to be present at the beginning of IE buffer.
Otherwise connection is failed with 'incompatible network
setting' error.

This patch fixes the problem by improving IE buffer parsing
logic.

Signed-off-by: chunfan chen <jeffc@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/sta_ioctl.c