Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223617
b: refs/heads/master
c: c926d00
h: refs/heads/master
i:
  223615: 9ad19a9
v: v3
  • Loading branch information
Tim Harvey authored and John W. Linville committed Dec 13, 2010
1 parent 2f6e46e commit ebfec2f
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: 4a55d5852adbe66722fb1636c82c7864cd5be441
refs/heads/master: c926d006c1514cfb3572893f41f2324e96823661
4 changes: 4 additions & 0 deletions trunk/net/mac80211/ibss.c
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,9 @@ void ieee80211_ibss_rx_queued_mgmt(struct ieee80211_sub_if_data *sdata,

mutex_lock(&sdata->u.ibss.mtx);

if (!sdata->u.ibss.ssid_len)
goto mgmt_out; /* not ready to merge yet */

switch (fc & IEEE80211_FCTL_STYPE) {
case IEEE80211_STYPE_PROBE_REQ:
ieee80211_rx_mgmt_probe_req(sdata, mgmt, skb->len);
Expand All @@ -797,6 +800,7 @@ void ieee80211_ibss_rx_queued_mgmt(struct ieee80211_sub_if_data *sdata,
break;
}

mgmt_out:
mutex_unlock(&sdata->u.ibss.mtx);
}

Expand Down

0 comments on commit ebfec2f

Please sign in to comment.