summaryrefslogtreecommitdiff
path: root/src/host/hub.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-01-15 16:17:42 +0700
committerhathach <[email protected]>2024-01-15 16:17:42 +0700
commita67ee4f01bcccf0943761708c029db085347ac63 (patch)
treeefbfaa06348225a228d977935a8eeecccc7756fc /src/host/hub.c
parentc2bbcc9f60a2b7293fad4e24468d3f045fde28ee (diff)
parent4b3b401ce37e12eaf4c85a5184d94327c28c70a5 (diff)
Merge branch 'master' into cdc_ch34x_support
Diffstat (limited to 'src/host/hub.c')
-rw-r--r--src/host/hub.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/host/hub.c b/src/host/hub.c
index 32f5e0ac7..3bac18698 100644
--- a/src/host/hub.c
+++ b/src/host/hub.c
@@ -435,9 +435,12 @@ static void hub_port_get_status_complete (tuh_xfer_t* xfer)
// Other changes are: L1 state
// TODO clear change
- // prepare for next hub status
- // TODO continue with status_change, or maybe we can do it again with status
- hub_edpt_status_xfer(daddr);
+ else
+ {
+ // prepare for next hub status
+ // TODO continue with status_change, or maybe we can do it again with status
+ hub_edpt_status_xfer(daddr);
+ }
}
}