Skip to content

Commit

Permalink
Merge pull request #2400 from Ryzee119/hub_fix
Browse files Browse the repository at this point in the history
[HUB] Fix double status xfer
  • Loading branch information
hathach authored Jan 11, 2024
2 parents b7581f0 + a4aa454 commit f2f40c0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/host/hub.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

Expand Down

0 comments on commit f2f40c0

Please sign in to comment.