Skip to content

Commit 9c840a3

Browse files
committed
Remove network_manager field of AccessPoint structure
1 parent 6e3ddb6 commit 9c840a3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

proton_wap/src/ap.rs

-5
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ pub struct AccessPoint {
2525
/// Device discovery manager.
2626
device_manager: DeviceManager,
2727

28-
#[allow(dead_code)]
29-
/// Network manager.
30-
network_manager: NetworkManager,
31-
3228
/// Hotspot configuration information.
3329
pub config: HotspotConfig,
3430

@@ -92,7 +88,6 @@ impl AccessPoint {
9288

9389
Ok (Self {
9490
device_manager: DeviceManager::new(config.cidr, wlifname)?,
95-
network_manager: NetworkManager::new(),
9691
config,
9792
connection,
9893
})

0 commit comments

Comments
 (0)