uses ZYD_NOTIF_RETRYSTATUS info to count the number of retries.

This commit is contained in:
Weongyo Jeong 2009-06-25 02:14:47 +00:00
parent 791d9a6e5d
commit 7f97ca0347
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=194937

View File

@ -667,7 +667,8 @@ zyd_intr_read_callback(struct usb_xfer *xfer, usb_error_t error)
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)