From 915b783358b0f140fe44d0aeb4295a071f4e0054 Mon Sep 17 00:00:00 2001
From: Florian Franzmann <bwlf@bandrate.org>
Date: Sat, 5 Sep 2020 16:57:56 +0200
Subject: [PATCH] Add missing case in switch

---
 hmcfgusb.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hmcfgusb.c b/hmcfgusb.c
index 9473382..90e82f2 100644
--- a/hmcfgusb.c
+++ b/hmcfgusb.c
@@ -113,6 +113,8 @@ static const char* usb_str_transfer_status(int e)
 		case LIBUSB_TRANSFER_CANCELLED:
 			return "Transfer cancelled";
 		case LIBUSB_TRANSFER_STALL:
+			return "For bulk/interrupt endpoints: endpoint stalled. For control endpoints: control request not supported.";
+		case LIBUSB_TRANSFER_NO_DEVICE:
 			return "No device";
 		case LIBUSB_TRANSFER_OVERFLOW:
 			return "Transfer overflow";
-- 
2.39.5