From: John W. Linville Date: Thu, 6 May 2010 18:45:17 +0000 (-0400) Subject: mac80211: set IEEE80211_TX_CTL_FIRST_FRAGMENT for beacons X-Git-Tag: v2.6.35-rc1~473^2~167^2~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a472e71b3c71619087d2485282955c3b62ebfde9;p=platform%2Fupstream%2Fkernel-adaptation-pc.git mac80211: set IEEE80211_TX_CTL_FIRST_FRAGMENT for beacons Also simplify the flags assignment into a single statement at the end of ieee80211_beacon_get_tim. Signed-off-by: John W. Linville --- diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index f3841f4..680bcb7 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -2251,8 +2251,9 @@ struct sk_buff *ieee80211_beacon_get_tim(struct ieee80211_hw *hw, info->control.vif = vif; - info->flags |= IEEE80211_TX_CTL_CLEAR_PS_FILT; - info->flags |= IEEE80211_TX_CTL_ASSIGN_SEQ; + info->flags |= IEEE80211_TX_CTL_CLEAR_PS_FILT | + IEEE80211_TX_CTL_ASSIGN_SEQ | + IEEE80211_TX_CTL_FIRST_FRAGMENT; out: rcu_read_unlock(); return skb;