summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-04-05 03:05:06 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2020-04-05 03:05:06 +0200
commitecba7822e316d6cb8370eec97862215402811e82 (patch)
tree494dc254651a6d72810f31e2ee0c6c21c4854faa /lib
parent315f20b9f46671ca1fd323b22de0722c7c561f97 (diff)
downloadplan9front-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