diff options
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r-- | net/mac80211/tx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 364a1e7b4afa..c9d2175d15c1 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -959,8 +959,7 @@ ieee80211_tx_h_fragment(struct ieee80211_tx_data *tx) | |||
959 | info->control.rates[1].idx = -1; | 959 | info->control.rates[1].idx = -1; |
960 | info->control.rates[2].idx = -1; | 960 | info->control.rates[2].idx = -1; |
961 | info->control.rates[3].idx = -1; | 961 | info->control.rates[3].idx = -1; |
962 | info->control.rates[4].idx = -1; | 962 | BUILD_BUG_ON(IEEE80211_TX_MAX_RATES != 4); |
963 | BUILD_BUG_ON(IEEE80211_TX_MAX_RATES != 5); | ||
964 | info->flags &= ~IEEE80211_TX_CTL_RATE_CTRL_PROBE; | 963 | info->flags &= ~IEEE80211_TX_CTL_RATE_CTRL_PROBE; |
965 | } else { | 964 | } else { |
966 | hdr->frame_control &= ~morefrags; | 965 | hdr->frame_control &= ~morefrags; |