aboutsummaryrefslogtreecommitdiff
path: root/src/control.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/control.rs')
-rw-r--r--src/control.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/control.rs b/src/control.rs
index 98f678fbc..f15a3d3f2 100644
--- a/src/control.rs
+++ b/src/control.rs
@@ -273,6 +273,8 @@ impl<'a> Control<'a> {
273 } 273 }
274 274
275 async fn ioctl(&mut self, kind: IoctlType, cmd: u32, iface: u32, buf: &mut [u8]) -> usize { 275 async fn ioctl(&mut self, kind: IoctlType, cmd: u32, iface: u32, buf: &mut [u8]) -> usize {
276 // TODO cancel ioctl on future drop.
277
276 self.ioctl_state.do_ioctl(kind, cmd, iface, buf).await; 278 self.ioctl_state.do_ioctl(kind, cmd, iface, buf).await;
277 let resp_len = self.ioctl_state.wait_complete().await; 279 let resp_len = self.ioctl_state.wait_complete().await;
278 resp_len 280 resp_len