mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-06 11:35:32 +00:00
mm-provider: Fix a check to remove device
We want to remove the modem if the currently removed interface is Voice. It was previously removing the device if the removed interface wasn’t Voice. Fixes https://source.puri.sm/Librem5/calls/issues/94
This commit is contained in:
parent
9f4c0cf3d0
commit
0634f49fc7
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ interface_removed_cb (CallsMMProvider *self,
|
|||
info->name, path);
|
||||
|
||||
if (g_strcmp0 (info->name,
|
||||
"org.freedesktop.ModemManager1.Modem.Voice") != 0)
|
||||
"org.freedesktop.ModemManager1.Modem.Voice") == 0)
|
||||
{
|
||||
remove_modem_object (self, path, object);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue