Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/dev/usb Botched error path.
details: https://anonhg.NetBSD.org/src-all/rev/5f7f922928b8
branches: trunk
changeset: 378003:5f7f922928b8
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Sat May 14 23:30:45 2022 +1000
description:
Botched error path.
diffstat:
sys/dev/usb/usbwifi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 0d927ca4c426 -r 5f7f922928b8 sys/dev/usb/usbwifi.c
--- a/sys/dev/usb/usbwifi.c Sat May 14 11:31:05 2022 +1000
+++ b/sys/dev/usb/usbwifi.c Sat May 14 23:30:45 2022 +1000
@@ -851,8 +851,8 @@ usbwifi_tx_prio_start(struct usbwifi *uw
(uintptr_t)c->uwc_buf, length, err, 0);
if (vap != NULL)
if_statinc(vap->iv_ifp, if_oerrors);
+ ieee80211_tx_complete(ni, m, 1);
break;
- ieee80211_tx_complete(ni, m, 1);
}
done_transmit = true;
Home |
Main Index |
Thread Index |
Old Index