diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-05-23 22:21:54 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-05-26 13:14:52 +0000 |
commit | 6fae479bd76db6c8cc69b3db2da3ef9707a3484c (patch) | |
tree | fbd6b6435a2f7e7d935f8fceaad75e590bffa87d /plugins/mbm | |
parent | 4038c243f9c73292bc0807a17158409fd947da9d (diff) |
plugins: ignore reload_connection_status() where not supported
Some of the AT-based connection methods don't have any way to query
connection status, or we don't have a proper implementation for those
yet. Ignore the reload operation in all those.
Diffstat (limited to 'plugins/mbm')
-rw-r--r-- | plugins/mbm/mm-broadband-bearer-mbm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/mbm/mm-broadband-bearer-mbm.c b/plugins/mbm/mm-broadband-bearer-mbm.c index e4e98a63..263ab5b3 100644 --- a/plugins/mbm/mm-broadband-bearer-mbm.c +++ b/plugins/mbm/mm-broadband-bearer-mbm.c @@ -897,6 +897,10 @@ mm_broadband_bearer_mbm_class_init (MMBroadbandBearerMbmClass *klass) base_bearer_class->report_connection_status = report_connection_status; base_bearer_class->load_connection_status = NULL; base_bearer_class->load_connection_status_finish = NULL; +#if defined WITH_SYSTEMD_SUSPEND_RESUME + base_bearer_class->reload_connection_status = NULL; + base_bearer_class->reload_connection_status_finish = NULL; +#endif broadband_bearer_class->dial_3gpp = dial_3gpp; broadband_bearer_class->dial_3gpp_finish = dial_3gpp_finish; |