sphinx-key: add the loop back in

This commit is contained in:
irriden
2023-10-27 17:12:42 +00:00
parent 3535ec5d62
commit dde34efbdc

View File

@@ -34,7 +34,12 @@ pub fn start_client(
}))?;
info!("Wifi configured");
try_connection(&mut wifi)?;
loop {
match try_connection(&mut wifi) {
Ok(_) => break,
Err(e) => info!("error: {}, trying wifi connection again!", e),
}
}
// let status = wifi.get_status();
// println!("=> wifi STATUS {:?}", status);