diff --git a/Cargo.lock b/Cargo.lock index e6c9d66..346bfb3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -276,7 +276,7 @@ dependencies = [ [[package]] name = "network-manager" version = "0.13.3" -source = "git+https://github.com/adom-inc/network-manager#f61487f6ed8c0176cce440af0b39278e15f44558" +source = "git+https://github.com/adom-inc/network-manager#7f5ec5d8b4885eefce28b5b322dceb4ff9e07bb5" dependencies = [ "ascii", "bitflags 1.3.2", diff --git a/proton_wap/src/ap.rs b/proton_wap/src/ap.rs index 9a17e8f..86e2fc8 100644 --- a/proton_wap/src/ap.rs +++ b/proton_wap/src/ap.rs @@ -73,7 +73,7 @@ impl AccessPoint { let (connection, _state) = wifi_device.create_hotspot_advanced::( config.ssid.as_str(), Some (config.pass.as_str()), - Some (config.gateway), + config.gateway, config.security.as_str(), config.band.as_str(), )?;