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.
This commit is contained in:
@@ -358,6 +358,10 @@ mm_broadband_bearer_altair_lte_class_init (MMBroadbandBearerAltairLteClass *klas
|
||||
|
||||
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->connect_3gpp = connect_3gpp;
|
||||
broadband_bearer_class->connect_3gpp_finish = connect_3gpp_finish;
|
||||
|
@@ -867,6 +867,10 @@ mm_broadband_bearer_huawei_class_init (MMBroadbandBearerHuaweiClass *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->connect_3gpp = connect_3gpp;
|
||||
broadband_bearer_class->connect_3gpp_finish = connect_3gpp_finish;
|
||||
|
@@ -840,6 +840,10 @@ mm_broadband_bearer_icera_class_init (MMBroadbandBearerIceraClass *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;
|
||||
|
@@ -259,4 +259,8 @@ mm_bearer_iridium_class_init (MMBearerIridiumClass *klass)
|
||||
base_bearer_class->connect_finish = connect_finish;
|
||||
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
|
||||
}
|
||||
|
@@ -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;
|
||||
|
@@ -785,6 +785,10 @@ mm_broadband_bearer_hso_class_init (MMBroadbandBearerHsoClass *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;
|
||||
|
Reference in New Issue
Block a user