Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66986
b: refs/heads/master
c: 6470a89
h: refs/heads/master
v: v3
  • Loading branch information
Holger Schurig authored and David S. Miller committed Oct 10, 2007
1 parent 808297e commit c0bd2f3
Show file tree
Hide file tree
Showing 3 changed files with 5 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: 2bcde51d095490c223bb4ade351cb7981c367934
refs/heads/master: 6470a89de90167cc1ff8a0312197ca422f5fe35f
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/libertas/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,13 @@ static int wlan_cmd_802_11_set_wep(wlan_private * priv,

switch (pkey->len) {
case KEY_LEN_WEP_40:
wep->keytype[i] = (u8)CMD_TYPE_WEP_40_BIT;
wep->keytype[i] = 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] = (u8)CMD_TYPE_WEP_104_BIT;
wep->keytype[i] = 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
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/libertas/host.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@
#define CMD_ACT_REMOVE 0x0004
#define CMD_ACT_USE_DEFAULT 0x0008

#define CMD_TYPE_WEP_40_BIT 0x0001
#define CMD_TYPE_WEP_104_BIT 0x0002
#define CMD_TYPE_WEP_40_BIT 0x01
#define CMD_TYPE_WEP_104_BIT 0x02

#define CMD_NUM_OF_WEP_KEYS 4

Expand Down

0 comments on commit c0bd2f3

Please sign in to comment.