diff options
author | Tormod Volden <debian.tormod@gmail.com> | 2023-01-26 14:02:35 +0100 |
---|---|---|
committer | Tormod Volden <debian.tormod@gmail.com> | 2023-01-28 11:53:06 +0100 |
commit | 2abb2a186e6c085396654851f7d18aa20ce2e753 (patch) | |
tree | 6a95cf7d4a4f54fa3c5aab7564149f123c1afa25 /libusb/core.c | |
parent | 0dbe62bde3596ab83419462682e1c4409e25408c (diff) | |
download | libusb-2abb2a186e6c085396654851f7d18aa20ce2e753.tar.gz |
xusb: Improve Max LUN retrieval stall handling
Do not show an uninitialized Max LUN value if the pipe stalled.
As suggested by the code comment (but not the old code), set a default
zero value only on pipe stall. On other errors simply error out.
References #1181
Closes #1239
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Diffstat (limited to 'libusb/core.c')
0 files changed, 0 insertions, 0 deletions