Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158897
b: refs/heads/master
c: ce8d096
h: refs/heads/master
i:
  158895: 11f65e5
v: v3
  • Loading branch information
Andrey Yurovsky authored and John W. Linville committed Jul 10, 2009
1 parent 6ebc575 commit 6effe68
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9834c079d130217c8c5ac8791428ebeb8c660538
refs/heads/master: ce8d096dac70e92a506d2f686ae4f724f42052cf
6 changes: 6 additions & 0 deletions trunk/drivers/net/wireless/libertas/assoc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1368,11 +1368,17 @@ static int assoc_helper_wpa_keys(struct lbs_private *priv,
if (ret)
goto out;

memcpy(&priv->wpa_unicast_key, &assoc_req->wpa_unicast_key,
sizeof(struct enc_key));

if (test_bit(ASSOC_FLAG_WPA_MCAST_KEY, &assoc_req->flags)) {
clear_bit(ASSOC_FLAG_WPA_UCAST_KEY, &assoc_req->flags);

ret = lbs_cmd_802_11_key_material(priv, CMD_ACT_SET, assoc_req);
assoc_req->flags = flags;

memcpy(&priv->wpa_mcast_key, &assoc_req->wpa_mcast_key,
sizeof(struct enc_key));
}

out:
Expand Down

0 comments on commit 6effe68

Please sign in to comment.