aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rc80211_minstrel.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2014-10-29 22:55:58 -0700
committerJohannes Berg <johannes.berg@intel.com>2014-10-31 08:29:56 +0100
commitd070f9137af960abd78525440684421fd5e0c0e7 (patch)
tree9f7755e19b6d988c3b871fb50725730fdb5a294b /net/mac80211/rc80211_minstrel.c
parentmac80211-hwsim: remove spurious newline (diff)
downloadlinux-dev-d070f9137af960abd78525440684421fd5e0c0e7.tar.xz
linux-dev-d070f9137af960abd78525440684421fd5e0c0e7.zip
mac80211: fix spelling errors
Use codespell to find spelling errors. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rc80211_minstrel.c')
-rw-r--r--net/mac80211/rc80211_minstrel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rc80211_minstrel.c b/net/mac80211/rc80211_minstrel.c
index 2baa7ed8789d..c2b91bf47f6d 100644
--- a/net/mac80211/rc80211_minstrel.c
+++ b/net/mac80211/rc80211_minstrel.c
@@ -191,7 +191,7 @@ minstrel_update_stats(struct minstrel_priv *mp, struct minstrel_sta_info *mi)
* (1) if any success probabilitiy >= 95%, out of those rates
* choose the maximum throughput rate as max_prob_rate
* (2) if all success probabilities < 95%, the rate with
- * highest success probability is choosen as max_prob_rate */
+ * highest success probability is chosen as max_prob_rate */
if (mrs->probability >= MINSTREL_FRAC(95, 100)) {
if (mrs->cur_tp >= mi->r[tmp_prob_rate].stats.cur_tp)
tmp_prob_rate = i;