wwan/ofono: clear current_octx on disconnect

This way, we won't signal failure when "PropertyChanged" signal for an
empty "Settings" eventually arrive.
This commit is contained in:
Ratchanan Srirattanamet 2022-10-25 02:26:26 +07:00 committed by Thomas Haller
parent 5abc6f5911
commit e7809a2bd7
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -290,6 +290,8 @@ disconnect(NMModem *modem,
ctx->cancellable,
disconnect_done,
ctx);
priv->current_octx = NULL;
}
static void