Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265812
b: refs/heads/master
c: 7f97b48
h: refs/heads/master
v: v3
  • Loading branch information
Eliad Peller authored and Luciano Coelho committed Aug 22, 2011
1 parent 67ff874 commit affb972
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 1a8adb67f9c37cad9539dd9dcb289ce1411680fc
refs/heads/master: 7f97b487c4a9634afc008a76ff26268147d7ee8e
7 changes: 6 additions & 1 deletion trunk/drivers/net/wireless/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2533,14 +2533,19 @@ static int wl1271_ap_init_hwenc(struct wl1271 *wl)
bool wep_key_added = false;

for (i = 0; i < MAX_NUM_KEYS; i++) {
u8 hlid;
if (wl->recorded_ap_keys[i] == NULL)
break;

key = wl->recorded_ap_keys[i];
hlid = key->hlid;
if (hlid == WL12XX_INVALID_LINK_ID)
hlid = wl->ap_bcast_hlid;

ret = wl1271_cmd_set_ap_key(wl, KEY_ADD_OR_REPLACE,
key->id, key->key_type,
key->key_size, key->key,
key->hlid, key->tx_seq_32,
hlid, key->tx_seq_32,
key->tx_seq_16);
if (ret < 0)
goto out;
Expand Down

0 comments on commit affb972

Please sign in to comment.