From 3ba0b3ef3b62ed05afed5ddeec8afaedc87e190e Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Fri, 23 Sep 2022 09:04:59 +0200 Subject: [PATCH] Comment out extra Timer:after calls This commit comments out two Timer::after calls which look like they go together with previous instructions, but those instructions are currently commented out, so it looks like these calls are not currently needed. --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index a6b26188d..013b23431 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -315,14 +315,14 @@ impl<'a> Control<'a> { self.set_iovar_u32("bus:txglom", 0).await; Timer::after(Duration::from_millis(100)).await; //self.set_iovar_u32("apsta", 1).await; // this crashes, also we already did it before...?? - Timer::after(Duration::from_millis(100)).await; + //Timer::after(Duration::from_millis(100)).await; self.set_iovar_u32("ampdu_ba_wsize", 8).await; Timer::after(Duration::from_millis(100)).await; self.set_iovar_u32("ampdu_mpdu", 4).await; Timer::after(Duration::from_millis(100)).await; //self.set_iovar_u32("ampdu_rx_factor", 0).await; // this crashes - Timer::after(Duration::from_millis(100)).await; + //Timer::after(Duration::from_millis(100)).await; // evts let mut evts = EventMask {