summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-05-29 13:29:11 +0700
committerhathach <[email protected]>2023-05-29 13:29:11 +0700
commit20ef6c4ef7f7fa7130352ae0c0984692a9719b35 (patch)
treef96f9c08e5aa8de6e5d151d276d7a8447f7a7d20
parent5c428d35a61f7d877cba19d9e094bd519ae91997 (diff)
slightly clean up
-rw-r--r--src/host/hub.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/host/hub.c b/src/host/hub.c
index 0807c2023..182bd6ce8 100644
--- a/src/host/hub.c
+++ b/src/host/hub.c
@@ -341,8 +341,7 @@ bool hub_xfer_cb(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t result, uint32
// The status change event was neither for the hub, nor for any of its ports.
// This shouldn't happen, but it does with some devices.
// Initiate the next interrupt poll here.
- hub_edpt_status_xfer(dev_addr);
- return true;
+ return hub_edpt_status_xfer(dev_addr);
}
if (tu_bit_test(status_change, 0)) {