diff options
author | 2006-12-03 16:09:21 +0000 | |
---|---|---|
committer | 2006-12-03 16:09:21 +0000 | |
commit | 6a54674fc1702685a23219f4ad615c28c32bc7f1 (patch) | |
tree | 7372c4afaa12d5091b8a346ebf2aa34519b1b53c /sys/dev/usb/if_ral.c | |
parent | always assume full duplex state if the interface is up... what does (diff) | |
download | wireguard-openbsd-6a54674fc1702685a23219f4ad615c28c32bc7f1.tar.xz wireguard-openbsd-6a54674fc1702685a23219f4ad615c28c32bc7f1.zip |
The device doesn't always detach gracefully from the bus after a firmware
upload. We thus force a port reset and a re-exploration on the parent hub
after firmware upload.
In uath_newstate(), if we're called from a process context, we don't need
to schedule a USB task. This fixes a problem in uath_stop(): when moving
to the S_INIT state, the task was scheduled after the device was reset.
Don't abort the RX firmware command pipe in uath_stop(), otherwise we will
never receive commands ACKs from the firmware anymore. We now survive to
an ifconfig down up.
Diffstat (limited to 'sys/dev/usb/if_ral.c')
0 files changed, 0 insertions, 0 deletions