Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277837
b: refs/heads/master
c: e0830f7
h: refs/heads/master
i:
  277835: 827259a
v: v3
  • Loading branch information
Arik Nemtsov authored and John W. Linville committed Nov 11, 2011
1 parent 5969ac6 commit f7d0917
Show file tree
Hide file tree
Showing 2 changed files with 3 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: fdacbcda7f21ba684cb4426daed67e23003d8311
refs/heads/master: e0830f71e7b8c2c58031c9692384819943162e9b
3 changes: 2 additions & 1 deletion trunk/net/mac80211/wpa.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,8 @@ static int ccmp_encrypt_skb(struct ieee80211_tx_data *tx, struct sk_buff *skb)
memmove(pos, pos + CCMP_HDR_LEN, hdrlen);

/* the HW only needs room for the IV, but not the actual IV */
if (info->control.hw_key->flags & IEEE80211_KEY_FLAG_PUT_IV_SPACE)
if (info->control.hw_key &&
(info->control.hw_key->flags & IEEE80211_KEY_FLAG_PUT_IV_SPACE))
return 0;

hdr = (struct ieee80211_hdr *) pos;
Expand Down

0 comments on commit f7d0917

Please sign in to comment.