mwl8k: Fix broken WEP
authorYogesh Ashok Powar <yogeshp@marvell.com>
Wed, 4 May 2011 11:52:16 +0000 (17:22 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 May 2011 18:59:18 +0000 (14:59 -0400)
commit9b571e24a9922f79ed2440b4482cb9f11a8f1889
tree1374a43c52b6d146d4b070c13a97329b84977602
parentf0dc7999b54ae0464d7144b81d21e1d39a389d49
mwl8k: Fix broken WEP

The WEP key length was being set to 0 erroneously which broke WEP support.
Fix the same by setting the key length appropriately.

Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c