diff options
-rw-r--r-- | net/mac80211/tx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 16af30811f98..332ddcb1068a 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -947,6 +947,8 @@ __ieee80211_tx_prepare(struct ieee80211_tx_data *tx, | |||
947 | tx->local = local; | 947 | tx->local = local; |
948 | tx->sdata = IEEE80211_DEV_TO_SUB_IF(dev); | 948 | tx->sdata = IEEE80211_DEV_TO_SUB_IF(dev); |
949 | tx->channel = local->hw.conf.channel; | 949 | tx->channel = local->hw.conf.channel; |
950 | tx->rate_idx = -1; | ||
951 | tx->last_frag_rate_idx = -1; | ||
950 | /* | 952 | /* |
951 | * Set this flag (used below to indicate "automatic fragmentation"), | 953 | * Set this flag (used below to indicate "automatic fragmentation"), |
952 | * it will be cleared/left by radiotap as desired. | 954 | * it will be cleared/left by radiotap as desired. |