diff options
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r-- | net/mac80211/tx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index f9088fe34d59..67b509edd431 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -1752,6 +1752,7 @@ struct sk_buff *ieee80211_beacon_get(struct ieee80211_hw *hw, | |||
1752 | goto out; | 1752 | goto out; |
1753 | } | 1753 | } |
1754 | 1754 | ||
1755 | control->vif = vif; | ||
1755 | control->tx_rate = | 1756 | control->tx_rate = |
1756 | (sdata->bss_conf.use_short_preamble && | 1757 | (sdata->bss_conf.use_short_preamble && |
1757 | (rsel.rate->flags & IEEE80211_RATE_PREAMBLE2)) ? | 1758 | (rsel.rate->flags & IEEE80211_RATE_PREAMBLE2)) ? |