bring back TODO note about dropping ioctls
This commit is contained in:
parent
4c52104413
commit
c7646eb699
1 changed files with 2 additions and 0 deletions
|
@ -273,6 +273,8 @@ impl<'a> Control<'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn ioctl(&mut self, kind: IoctlType, cmd: u32, iface: u32, buf: &mut [u8]) -> usize {
|
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;
|
self.ioctl_state.do_ioctl(kind, cmd, iface, buf).await;
|
||||||
let resp_len = self.ioctl_state.wait_complete().await;
|
let resp_len = self.ioctl_state.wait_complete().await;
|
||||||
resp_len
|
resp_len
|
||||||
|
|
Loading…
Reference in a new issue