Author: weongyo Date: Thu Jun 25 02:28:12 2009 New Revision: 194939 URL: http://svn.freebsd.org/changeset/base/194939
Log: updates AMRR statistics with tx complete status that if not the tx rate always would be reduced. Modified: head/sys/dev/usb/wlan/if_zyd.c Modified: head/sys/dev/usb/wlan/if_zyd.c ============================================================================== --- head/sys/dev/usb/wlan/if_zyd.c Thu Jun 25 02:15:04 2009 (r194938) +++ head/sys/dev/usb/wlan/if_zyd.c Thu Jun 25 02:28:12 2009 (r194939) @@ -517,6 +517,9 @@ zyd_tx_free(struct zyd_tx_data *data, in 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; } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"