aboutsummaryrefslogtreecommitdiff
path: root/embassy-net-nrf91
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-net-nrf91')
-rw-r--r--embassy-net-nrf91/src/context.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/embassy-net-nrf91/src/context.rs b/embassy-net-nrf91/src/context.rs
index 6b841aa16..3671fdd68 100644
--- a/embassy-net-nrf91/src/context.rs
+++ b/embassy-net-nrf91/src/context.rs
@@ -284,8 +284,7 @@ impl<'a> Control<'a> {
284 } 284 }
285 285
286 /// Run a control loop for this context, ensuring that reaattach is handled. 286 /// Run a control loop for this context, ensuring that reaattach is handled.
287 pub async fn run<F: Fn(&Status)>(&self, config: &Config<'_>, reattach: F) -> Result<(), Error> { 287 pub async fn run<F: Fn(&Status)>(&self, reattach: F) -> Result<(), Error> {
288 self.configure(config).await?;
289 let status = self.wait_attached().await?; 288 let status = self.wait_attached().await?;
290 let mut fd = self.control.open_raw_socket().await; 289 let mut fd = self.control.open_raw_socket().await;
291 reattach(&status); 290 reattach(&status);