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.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/net/mac80211/rc80211_minstrel_ht.c b/net/mac80211/rc80211_minstrel_ht.c
index 8b168724c5e7..298a1acb3ce5 100644
--- a/net/mac80211/rc80211_minstrel_ht.c
+++ b/net/mac80211/rc80211_minstrel_ht.c
@@ -1,9 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2010-2013 Felix Fietkau <nbd@openwrt.org> 3 * Copyright (C) 2010-2013 Felix Fietkau <nbd@openwrt.org>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */ 4 */
8#include <linux/netdevice.h> 5#include <linux/netdevice.h>
9#include <linux/types.h> 6#include <linux/types.h>
@@ -998,8 +995,6 @@ minstrel_ht_update_rates(struct minstrel_priv *mp, struct minstrel_ht_sta *mi)
998 } 995 }
999 996
1000 if (mp->hw->max_rates >= 2) { 997 if (mp->hw->max_rates >= 2) {
1001 /*
1002 * At least 2 tx rates supported, use max_prob_rate next */
1003 minstrel_ht_set_rate(mp, mi, rates, i++, mi->max_prob_rate); 998 minstrel_ht_set_rate(mp, mi, rates, i++, mi->max_prob_rate);
1004 } 999 }
1005 1000