mwifiex: reset encryption mode flag before association
authorAmitkumar Karwar <akarwar@marvell.com>
Sat, 25 Feb 2012 05:35:35 +0000 (21:35 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 29 Feb 2012 18:08:52 +0000 (13:08 -0500)
commit00f157b49780e194c38dafdf9df8e10b8a6a9626
treef477aafdc4d49efbadec217d31d192f567ac5923
parent9926a67557532acb6cddb1c1add02952175b5c72
mwifiex: reset encryption mode flag before association

Recent commit
"mwifiex: clear previous security setting during association"
fixes association failure problems observed in some corner cases
by clearing previous security setting before each association.

We should reset encryption mode flag as well. This patch takes care
of it.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c