mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-13 18:02:00 -04:00
wifi: Remove leftover debug printlns
This commit is contained in:
parent
127eab4863
commit
d1f27cc5fc
1 changed files with 0 additions and 4 deletions
|
@ -216,16 +216,12 @@ pub(crate) async fn set_wifi_debug_mode(
|
|||
pub(crate) async fn get_wifi_backend() -> Result<WifiBackend> {
|
||||
let mut builder = ConfigBuilder::<AsyncState>::default();
|
||||
for dir in WIFI_BACKEND_PATHS {
|
||||
println!("{dir}");
|
||||
builder = read_config_directory(builder, path(dir), &["conf"], FileFormat::Ini).await?;
|
||||
}
|
||||
println!("{builder:?}");
|
||||
let config = builder.build().await?;
|
||||
println!("{config:?}");
|
||||
|
||||
if let Some(backend) = config.get_table("device")?.remove("wifi.backend") {
|
||||
let backend = backend.into_string()?;
|
||||
println!("{backend:?}");
|
||||
return Ok(WifiBackend::from_str(backend.as_str())?);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue