mwifiex: fix regression in WEP security mode
authorAmitkumar Karwar <akarwar@marvell.com>
Fri, 8 Jul 2011 00:33:19 +0000 (17:33 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 8 Jul 2011 15:47:15 +0000 (11:47 -0400)
commite6faada5daddcdf29056c8abee0869d4e2cd55b5
tree91cffd11769ee2d1c0cdcc1a53594715cd93698b
parent4fc5401c144d95b031e839ba3208e04c79ac84cb
mwifiex: fix regression in WEP security mode

Htcapinfo is unnecessarily sent in assoc request in WEP security due
to a regression introduced by commit 2be50b8df53 (mwifiex: remove
redundant encryption_mode mapping).
The issue is fixed in this patch.

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