svn commit: r194937 - head/sys/dev/usb/wlan
Weongyo Jeong
weongyo at FreeBSD.org
Thu Jun 25 02:14:48 UTC 2009
Author: weongyo
Date: Thu Jun 25 02:14:47 2009
New Revision: 194937
URL: http://svn.freebsd.org/changeset/base/194937
Log:
uses ZYD_NOTIF_RETRYSTATUS info to count the number of retries.
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 01:33:51 2009 (r194936)
+++ head/sys/dev/usb/wlan/if_zyd.c Thu Jun 25 02:14:47 2009 (r194937)
@@ -667,7 +667,8 @@ zyd_intr_read_callback(struct usb_xfer *
ni = ieee80211_find_txnode(vap, retry->macaddr);
if (ni != NULL) {
ieee80211_amrr_tx_complete(&ZYD_NODE(ni)->amn,
- IEEE80211_AMRR_FAILURE, 1);
+ IEEE80211_AMRR_FAILURE,
+ (int)(le16toh(retry->count) & 0xff));
ieee80211_free_node(ni);
}
if (le16toh(retry->count) & 0x100)
More information about the svn-src-all
mailing list