diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2012-02-09 18:32:22 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-15 13:56:15 -0500 |
commit | 6670f15b1f6858a43b292d8ab64464e9f085a6aa (patch) | |
tree | ba8cb3ade8da94277d134dc3d9c2d4081f9459ee /drivers/media/dvb/frontends/mb86a16.c | |
parent | 216c57b214bd621335ff698b475f6db2802502dc (diff) | |
download | blackbird-op-linux-6670f15b1f6858a43b292d8ab64464e9f085a6aa.tar.gz blackbird-op-linux-6670f15b1f6858a43b292d8ab64464e9f085a6aa.zip |
mwifiex: clear previous security setting during association
Driver maintains different flags for WEP, WPA, WPA2 security modes.
Appropriate flag is set using security information provided in
connect request. mwifiex_is_network_compatible() routine uses them
to check if driver's setting is compatible with AP. Association is
aborted if the routine fails.
For some corner cases, it is observed that association is failed
even for valid security information based on association history.
This patch fixes the problem by clearing previous security setting
during each association.
We should set WEP key provided in connect request as default tx key.
This missing change is also added here.
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>
Diffstat (limited to 'drivers/media/dvb/frontends/mb86a16.c')
0 files changed, 0 insertions, 0 deletions