Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121783
b: refs/heads/master
c: 2a941ec
h: refs/heads/master
i:
  121781: a6b7741
  121779: b283c43
  121775: 259d36c
v: v3
  • Loading branch information
Holger Schurig authored and John W. Linville committed Nov 10, 2008
1 parent 5d596a5 commit 23b831f
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 8469cdef1f123e2e3e56645f1ac26c7cfb333d9c
refs/heads/master: 2a941ecb5178cb8c94190f17a42f35a772cbc5c6
4 changes: 4 additions & 0 deletions trunk/net/ieee80211/ieee80211_wx.c
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,10 @@ int ieee80211_wx_set_encode(struct ieee80211_device *ieee,

/* If a new key was provided, set it up */
if (erq->length > 0) {
#ifdef CONFIG_IEEE80211_DEBUG
DECLARE_SSID_BUF(ssid);
#endif

len = erq->length <= 5 ? 5 : 13;
memcpy(sec.keys[key], keybuf, erq->length);
if (len > erq->length)
Expand Down

0 comments on commit 23b831f

Please sign in to comment.