Skip to content

Commit 4440836

Browse files
committed
Add 'network-manager' as submodule
1 parent 4d77c51 commit 4440836

File tree

5 files changed

+86
-5
lines changed

5 files changed

+86
-5
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "network-manager"]
2+
path = network-manager
3+
url = https://github.com/adom-inc/network-manager/

Cargo.lock

+74-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

network-manager

Submodule network-manager added at f45eedc

proton_wap/Cargo.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ path = "src/lib.rs"
1010
[dependencies]
1111

1212
[dependencies.network-manager]
13-
# TODO: this repo is a fork of an existing repo, once PR is approved we will change this to the existing repo
14-
git = "https://github.com/adom-inc/network-manager"
13+
path = "../network-manager"
1514

1615
[dependencies.pnet]
1716
version = "0.35.0"

proton_wap/src/ap.rs

+7
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@ impl AccessPoint {
9090
}
9191

9292
/// Get the NetworkManager hotspot abstraction.
93+
///
94+
/// # Parameters
95+
/// None.
96+
///
97+
/// # Returns
98+
/// A `ProtonResult<Connection>` containing the connection,
99+
/// if the method could successfully construct it.
93100
fn get_hotspot(&mut self) -> ProtonResult<Connection> {
94101
// Initialize NetworkManager API
95102
let nm = NetworkManager::new();

0 commit comments

Comments
 (0)