summaryrefslogtreecommitdiffstats
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
authorJohn W. Linville2010-05-06 20:45:17 +0200
committerJohn W. Linville2010-05-07 20:55:55 +0200
commita472e71b3c71619087d2485282955c3b62ebfde9 (patch)
tree7fb74948011e568c791de4686df0f48f86b71fb5 /net/mac80211/tx.c
parentrt2x00: Fix RF3052 channel initialization (diff)
downloadkernel-qcow2-linux-a472e71b3c71619087d2485282955c3b62ebfde9.tar.gz
kernel-qcow2-linux-a472e71b3c71619087d2485282955c3b62ebfde9.tar.xz
kernel-qcow2-linux-a472e71b3c71619087d2485282955c3b62ebfde9.zip
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 <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r--net/mac80211/tx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index f3841f43249e..680bcb7093db 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;