device,plugin: reset MMDevice's hotplugged after creating the modem
The hotplugged flag was added to simplify modem probe on first time it is created. Before the re-probe it must be set to FALSE to destroy all existing netlink interfaces and force full reconfiguration.
This commit is contained in:
@@ -962,6 +962,8 @@ mm_plugin_create_modem (MMPlugin *self,
|
||||
return NULL;
|
||||
|
||||
mm_base_modem_set_hotplugged (modem, mm_device_get_hotplugged (device));
|
||||
/* Reset hotplugged flag to guarantee full reconfiguration on next probe */
|
||||
mm_device_reset_hotplugged (device);
|
||||
|
||||
if (port_probes) {
|
||||
GList *l;
|
||||
|
||||
Reference in New Issue
Block a user