Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236741
b: refs/heads/master
c: ac1bd84
h: refs/heads/master
i:
  236739: c0c714b
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Jan 19, 2011
1 parent fbf8c84 commit e5871d0
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 4801416c76a3a355076d6d371c00270dfe332e1c
refs/heads/master: ac1bd8464f161ed1475ef73c431b926256c6b5bb
5 changes: 5 additions & 0 deletions trunk/net/mac80211/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2299,6 +2299,11 @@ struct sk_buff *ieee80211_beacon_get_tim(struct ieee80211_hw *hw,
struct ieee80211_mgmt *mgmt;
u8 *pos;

#ifdef CONFIG_MAC80211_MESH
if (!sdata->u.mesh.mesh_id_len)
goto out;
#endif

/* headroom, head length, tail length and maximum TIM length */
skb = dev_alloc_skb(local->tx_headroom + 400 +
sdata->u.mesh.vendor_ie_len);
Expand Down

0 comments on commit e5871d0

Please sign in to comment.