aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Bevenius <[email protected]>2022-09-23 09:04:59 +0200
committerDaniel Bevenius <[email protected]>2022-09-23 09:04:59 +0200
commit3ba0b3ef3b62ed05afed5ddeec8afaedc87e190e (patch)
tree9f8652284884884c03fd69d31ff7b8cd13cb695f /src
parent9db9333d0569ca8e86301f643e42abd37f3b7118 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs4
1 files 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> {
315 self.set_iovar_u32("bus:txglom", 0).await; 315 self.set_iovar_u32("bus:txglom", 0).await;
316 Timer::after(Duration::from_millis(100)).await; 316 Timer::after(Duration::from_millis(100)).await;
317 //self.set_iovar_u32("apsta", 1).await; // this crashes, also we already did it before...?? 317 //self.set_iovar_u32("apsta", 1).await; // this crashes, also we already did it before...??
318 Timer::after(Duration::from_millis(100)).await; 318 //Timer::after(Duration::from_millis(100)).await;
319 self.set_iovar_u32("ampdu_ba_wsize", 8).await; 319 self.set_iovar_u32("ampdu_ba_wsize", 8).await;
320 Timer::after(Duration::from_millis(100)).await; 320 Timer::after(Duration::from_millis(100)).await;
321 self.set_iovar_u32("ampdu_mpdu", 4).await; 321 self.set_iovar_u32("ampdu_mpdu", 4).await;
322 Timer::after(Duration::from_millis(100)).await; 322 Timer::after(Duration::from_millis(100)).await;
323 //self.set_iovar_u32("ampdu_rx_factor", 0).await; // this crashes 323 //self.set_iovar_u32("ampdu_rx_factor", 0).await; // this crashes
324 324
325 Timer::after(Duration::from_millis(100)).await; 325 //Timer::after(Duration::from_millis(100)).await;
326 326
327 // evts 327 // evts
328 let mut evts = EventMask { 328 let mut evts = EventMask {