projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0dc799
)
mwl8k: Fix broken WEP
author
Yogesh Ashok Powar
<yogeshp@marvell.com>
Wed, 4 May 2011 11:52:16 +0000
(17:22 +0530)
committer
John W. Linville
<linville@tuxdriver.com>
Thu, 5 May 2011 18:59:18 +0000
(14:59 -0400)
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
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mwl8k.c
b/drivers/net/wireless/mwl8k.c
index 9f5ecef297e5db5f9723d7a18a07e49e35e334c9..d06591a7e566ced457cdfe1847794a48db0a3623 100644
(file)
--- a/
drivers/net/wireless/mwl8k.c
+++ b/
drivers/net/wireless/mwl8k.c
@@
-3997,7
+3997,7
@@
static int mwl8k_cmd_encryption_set_key(struct ieee80211_hw *hw,
mwl8k_vif->wep_key_conf[idx].enabled = 1;
}
- keymlen =
0
;
+ keymlen =
key->keylen
;
action = MWL8K_ENCR_SET_KEY;
break;
case WLAN_CIPHER_SUITE_TKIP: