Merge pull request #2400 from Ryzee119/hub_fix

[HUB] Fix double status xfer
This commit is contained in:
Ha Thach 2024-01-11 12:39:18 +07:00 committed by GitHub
commit f2f40c0965
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}
}
}