summaryrefslogtreecommitdiffstats
path: root/net/mac80211/rc80211_minstrel.c
diff options
context:
space:
mode:
authorJohannes Berg2019-05-16 11:44:52 +0200
committerJohannes Berg2019-06-14 14:17:37 +0200
commit1e87fec9fa52a6f7c223998d6bfbd3464eb37e31 (patch)
treecf0ed29354439264496250104807143bffd1231e /net/mac80211/rc80211_minstrel.c
parentieee80211: Add a missing extended capability flag definition (diff)
downloadkernel-qcow2-linux-1e87fec9fa52a6f7c223998d6bfbd3464eb37e31.tar.gz
kernel-qcow2-linux-1e87fec9fa52a6f7c223998d6bfbd3464eb37e31.tar.xz
kernel-qcow2-linux-1e87fec9fa52a6f7c223998d6bfbd3464eb37e31.zip
mac80211: call rate_control_send_low() internally
There's no rate control algorithm that *doesn't* want to call it internally, and calling it internally will let us modify its behaviour in the future. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rc80211_minstrel.c')
-rw-r--r--net/mac80211/rc80211_minstrel.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/mac80211/rc80211_minstrel.c b/net/mac80211/rc80211_minstrel.c
index a34e9c2ca626..ee86c3333999 100644
--- a/net/mac80211/rc80211_minstrel.c
+++ b/net/mac80211/rc80211_minstrel.c
@@ -340,10 +340,6 @@ minstrel_get_rate(void *priv, struct ieee80211_sta *sta,
int delta;
int sampling_ratio;
- /* management/no-ack frames do not use rate control */
- if (rate_control_send_low(sta, priv_sta, txrc))
- return;
-
/* check multi-rate-retry capabilities & adjust lookaround_rate */
mrr_capable = mp->has_mrr &&
!txrc->rts &&