bring back TODO note about dropping ioctls

This commit is contained in:
kbleeke 2023-03-27 12:40:40 +02:00
parent 4c52104413
commit c7646eb699

View File

@ -273,6 +273,8 @@ impl<'a> Control<'a> {
}
async fn ioctl(&mut self, kind: IoctlType, cmd: u32, iface: u32, buf: &mut [u8]) -> usize {
// TODO cancel ioctl on future drop.
self.ioctl_state.do_ioctl(kind, cmd, iface, buf).await;
let resp_len = self.ioctl_state.wait_complete().await;
resp_len