aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rc80211_minstrel_ht.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/rc80211_minstrel_ht.c')
-rw-r--r--net/mac80211/rc80211_minstrel_ht.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mac80211/rc80211_minstrel_ht.c b/net/mac80211/rc80211_minstrel_ht.c
index 52562973fbd1..7475a7a33797 100644
--- a/net/mac80211/rc80211_minstrel_ht.c
+++ b/net/mac80211/rc80211_minstrel_ht.c
@@ -862,8 +862,9 @@ minstrel_ht_update_caps(void *priv, struct ieee80211_supported_band *sband,
862 mi->sta = sta; 862 mi->sta = sta;
863 mi->stats_update = jiffies; 863 mi->stats_update = jiffies;
864 864
865 ack_dur = ieee80211_frame_duration(sband->band, 10, 60, 1, 1); 865 ack_dur = ieee80211_frame_duration(sband->band, 10, 60, 1, 1, 0);
866 mi->overhead = ieee80211_frame_duration(sband->band, 0, 60, 1, 1) + ack_dur; 866 mi->overhead = ieee80211_frame_duration(sband->band, 0, 60, 1, 1, 0);
867 mi->overhead += ack_dur;
867 mi->overhead_rtscts = mi->overhead + 2 * ack_dur; 868 mi->overhead_rtscts = mi->overhead + 2 * ack_dur;
868 869
869 mi->avg_ampdu_len = MINSTREL_FRAC(1, 1); 870 mi->avg_ampdu_len = MINSTREL_FRAC(1, 1);