diff --git a/services/net/src/connection_manager.rs b/services/net/src/connection_manager.rs index b82d7c23c..09d854f2f 100644 --- a/services/net/src/connection_manager.rs +++ b/services/net/src/connection_manager.rs @@ -131,9 +131,30 @@ pub(crate) fn connection_manager(sid: xous::SID, activity_interval: Arc xous::msg_scalar_unpack!(msg, token, _, _, _, { - // for now, nothing to do to prepare for suspend... - susres.suspend_until_resume(token).expect("couldn't execute suspend/resume"); - // on resume, check with the EC and see where the link state ended up + Some(ConnectionManagerOpcode::SuspendResume) => xous::msg_scalar_unpack!(msg, _, _, _, _, { + // this doesn't follow the usual "suspender" pattern. In fact, we don't do anything special on suspend; + // however, on resume, check with the EC and see where the link state ended up. let (res_linkstate, _res_dhcpstate) = com.wlan_sync_state().unwrap(); match res_linkstate { LinkState::Connected => {