Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66495
b: refs/heads/master
c: 5707708
h: refs/heads/master
i:
  66493: 79d8b0c
  66491: 8915c18
  66487: d6d88cb
  66479: 5d16114
  66463: 9429f90
  66431: 855b9e1
v: v3
  • Loading branch information
Dan Williams authored and David S. Miller committed Oct 10, 2007
1 parent 9ffcffb commit 0cef835
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 965f8bbc6c92233600b176f4c80299f6766df9bd
refs/heads/master: 5707708111ca6c4e9a1160acffdc98a98d95e462
6 changes: 2 additions & 4 deletions trunk/drivers/net/wireless/libertas/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,15 +181,13 @@ static int wlan_cmd_802_11_set_wep(wlan_private * priv,

switch (pkey->len) {
case KEY_LEN_WEP_40:
wep->keytype[i] =
cpu_to_le16(CMD_TYPE_WEP_40_BIT);
wep->keytype[i] = (u8)CMD_TYPE_WEP_40_BIT;
memmove(&wep->keymaterial[i], pkey->key,
pkey->len);
lbs_deb_cmd("SET_WEP: add key %d (40 bit)\n", i);
break;
case KEY_LEN_WEP_104:
wep->keytype[i] =
cpu_to_le16(CMD_TYPE_WEP_104_BIT);
wep->keytype[i] = (u8)CMD_TYPE_WEP_104_BIT;
memmove(&wep->keymaterial[i], pkey->key,
pkey->len);
lbs_deb_cmd("SET_WEP: add key %d (104 bit)\n", i);
Expand Down

0 comments on commit 0cef835

Please sign in to comment.