darwin: add support for handling new error code (kUSBHostReturnPipeStalled)
authorNathan Hjelm <hjelmn@me.com>
Thu, 28 Oct 2021 16:25:03 +0000 (10:25 -0600)
committerNathan Hjelm <hjelmn@me.com>
Thu, 28 Oct 2021 16:25:03 +0000 (10:25 -0600)
commit4f6754f3c6529a78a22cb6bdc9274671a911c64c
tree96a799641e481ca98b8633ccfd36aa1d524b7f42
parente88b77ff6e848df299e4d9ed4926581991b7ffdf
darwin: add support for handling new error code (kUSBHostReturnPipeStalled)

With macOS Monterey Apple started using a new error code to indicate a pipe
stall. This new error code needs to be handled both in translation to libusb
error codes and when handling errors setting the alt setting.

References #1011

Signed-off-by: Nathan Hjelm <hjelmn@google.com>
libusb/os/darwin_usb.c
libusb/version_nano.h