diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-04-05 03:05:06 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-04-05 03:05:06 +0200 |
| commit | ecba7822e316d6cb8370eec97862215402811e82 (patch) | |
| tree | 494dc254651a6d72810f31e2ee0c6c21c4854faa /lib | |
| parent | 315f20b9f46671ca1fd323b22de0722c7c561f97 (diff) | |
| download | plan9front-ecba7822e316d6cb8370eec97862215402811e82.tar.xz | |
nusb/usbd: fix portreset error handling
error handling in portreset() was wrong. we called closedev()
on the device without changing the reference.
just call portdetach() when the reset fails.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
