summaryrefslogtreecommitdiff
path: root/src/host/hub.c
diff options
context:
space:
mode:
authorIngHK <[email protected]>2024-02-07 10:11:42 +0100
committerIngHK <[email protected]>2024-02-07 10:11:42 +0100
commita0660027311738947a4227df63767fc81328dc86 (patch)
tree8e04c514619a9975999dd68892b247df2cf0759c /src/host/hub.c
parente784e20b93068f4b063e066eb50ea005aeec99f4 (diff)
parentb60d0ff1d4f1db0e3caeb26895e73e749206023a (diff)
Merge remote-tracking branch 'remotes/hathach/master' into improve_debug_prints
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);
+ }
}
}