Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275699
b: refs/heads/master
c: 5b2bbf7
h: refs/heads/master
i:
  275697: ace04f0
  275695: d423ffc
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Nov 9, 2011
1 parent 1f61424 commit 80a268f
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: f8d1ccf15568268c76f913b45ecdd33134387f1a
refs/heads/master: 5b2bbf75a24d6b06afff6de0eb4819413fd81971
4 changes: 4 additions & 0 deletions trunk/net/mac80211/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,8 @@ struct sk_buff *ieee80211_build_probe_req(struct ieee80211_sub_if_data *sdata,
skb = ieee80211_probereq_get(&local->hw, &sdata->vif,
ssid, ssid_len,
buf, buf_len);
if (!skb)
goto out;

if (dst) {
mgmt = (struct ieee80211_mgmt *) skb->data;
Expand All @@ -888,6 +890,8 @@ struct sk_buff *ieee80211_build_probe_req(struct ieee80211_sub_if_data *sdata,
}

IEEE80211_SKB_CB(skb)->flags |= IEEE80211_TX_INTFL_DONT_ENCRYPT;

out:
kfree(buf);

return skb;
Expand Down

0 comments on commit 80a268f

Please sign in to comment.