Date: Mon, 2 Sep 2013 08:00:12 GMT From: ccqin@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r256825 - soc2013/ccqin/head/sys/net80211 Message-ID: <201309020800.r8280Cm7004921@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ccqin Date: Mon Sep 2 08:00:12 2013 New Revision: 256825 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=256825 Log: minor errors in ieee80211_amrr fixed. Modified: soc2013/ccqin/head/sys/net80211/ieee80211_amrr.c Modified: soc2013/ccqin/head/sys/net80211/ieee80211_amrr.c ============================================================================== --- soc2013/ccqin/head/sys/net80211/ieee80211_amrr.c Mon Sep 2 07:43:31 2013 (r256824) +++ soc2013/ccqin/head/sys/net80211/ieee80211_amrr.c Mon Sep 2 08:00:12 2013 (r256825) @@ -65,7 +65,7 @@ static int amrr_update(struct ieee80211_amrr *, struct ieee80211_amrr_node *, struct ieee80211_node *); static int amrr_rate(struct ieee80211_node *, void *, uint32_t); -static int amrr_rates(struct ieee80211_node *, struct ieee80211_rc_info *); +static void amrr_rates(struct ieee80211_node *, struct ieee80211_rc_info *); static void amrr_tx_complete(const struct ieee80211vap *, const struct ieee80211_node *, struct ieee80211_rc_info *); static void amrr_tx_update(const struct ieee80211vap *vap, @@ -382,8 +382,8 @@ ieee80211_ratectl_update_stat(vap, rc_info); amn->amn_txcnt += rc_info->iri_txcnt; - amn->amn_success += (rc_info->iri_txcnt - rc_info->failcnt); - amn->amn_retrycnt += rc_info->retrycnt; + amn->amn_success += (rc_info->iri_txcnt - rc_info->iri_failcnt); + amn->amn_retrycnt += rc_info->iri_retrycnt; } /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309020800.r8280Cm7004921>