1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00

updates AMRR statistics with tx complete status that if not the tx rate

always would be reduced.
This commit is contained in:
Weongyo Jeong 2009-06-25 02:28:12 +00:00
parent 7f97ca0347
commit 90cbee43d6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=194939

View File

@ -517,6 +517,9 @@ zyd_tx_free(struct zyd_tx_data *data, int txerr)
m_freem(data->m);
data->m = NULL;
if (txerr == 0)
ieee80211_amrr_tx_complete(&ZYD_NODE(data->ni)->amn,
IEEE80211_AMRR_SUCCESS, 0);
ieee80211_free_node(data->ni);
data->ni = NULL;
}