broadband-modem: Disconnect bearers during disable

Fixes a bug introduced in commit 7e386389, which caused user requested
disable operations to go to step
DISABLING_STEP_FIRST_AFTER_ENABLE_FAILED. For user requested disable,
the first step should be DISABLING_STEP_FIRST.
This commit is contained in:
Pavan Holla
2020-10-07 22:33:27 +00:00
parent 075bcb74f3
commit b0c212635d

View File

@@ -10864,7 +10864,7 @@ disable (MMBaseModem *self,
{
common_disable (MM_BROADBAND_MODEM (self),
TRUE, /* perform state updates */
DISABLING_STEP_FIRST_AFTER_ENABLE_FAILED,
DISABLING_STEP_FIRST,
cancellable,
callback,
user_data);