bearer-list: if multiplexing not supported, 0 max multiplexed bearers
Fixes warnings on AT+PPP based devices: ModemManager[602870]: <debug> [1626948725.168355] [modem0] allowed up to 1 active bearers (ModemManager:602870): GLib-GObject-WARNING **: 12:12:05.185: value "0" of type 'guint' is invalid or out of range for property 'max-active-multiplexed-bearers' of type 'guint'
This commit is contained in:
@@ -464,9 +464,9 @@ mm_bearer_list_class_init (MMBearerListClass *klass)
|
||||
g_param_spec_uint (MM_BEARER_LIST_MAX_ACTIVE_MULTIPLEXED_BEARERS,
|
||||
"Max active multiplexed bearers",
|
||||
"Maximum number of active multiplexed bearers the list can handle",
|
||||
1,
|
||||
0,
|
||||
G_MAXUINT,
|
||||
1,
|
||||
0,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY);
|
||||
g_object_class_install_property (object_class, PROP_MAX_ACTIVE_MULTIPLEXED_BEARERS, properties[PROP_MAX_ACTIVE_MULTIPLEXED_BEARERS]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user