diff --git a/docs/man/mmcli.1 b/docs/man/mmcli.1 index d15cb7995..e6ee77f38 100644 --- a/docs/man/mmcli.1 +++ b/docs/man/mmcli.1 @@ -358,6 +358,7 @@ One of the following types of lock: \fB'net-sub-pers'\fR - network subset personalization \fB'provider-pers'\fR - provider personalization \fB'corp-pers'\fR - corporate personalization + \fB'fixed-dialing'\fR - fixed dialing .Ed .TP \fB'CONTROL_KEY'\fR diff --git a/src/mm-iface-modem-3gpp.c b/src/mm-iface-modem-3gpp.c index b72ae0e49..4b0d2fbe9 100644 --- a/src/mm-iface-modem-3gpp.c +++ b/src/mm-iface-modem-3gpp.c @@ -1612,16 +1612,18 @@ disable_facility_lock_auth_ready (MMIfaceAuth *auth, g_variant_get (ctx->dictionary, "(us)", &ctx->facility, &ctx->control_key); - /* Only four facility locks can be disabled: + /* Only five facility locks can be disabled: * - MM_MODEM_3GPP_FACILITY_NET_PERS (network personalization) * - MM_MODEM_3GPP_FACILITY_NET_SUB_PERS (network subset personalization) * - MM_MODEM_3GPP_FACILITY_PROVIDER_PERS (service provider personalization) * - MM_MODEM_3GPP_FACILITY_CORP_PERS (corporate personalization) + * - MM_MODEM_3GPP_FACILITY_FIXED_DIALING (fixed dialing) */ if (ctx->facility != (ctx->facility & (MM_MODEM_3GPP_FACILITY_NET_PERS | MM_MODEM_3GPP_FACILITY_NET_SUB_PERS | MM_MODEM_3GPP_FACILITY_PROVIDER_PERS | - MM_MODEM_3GPP_FACILITY_CORP_PERS))) { + MM_MODEM_3GPP_FACILITY_CORP_PERS | + MM_MODEM_3GPP_FACILITY_FIXED_DIALING))) { mm_dbus_method_invocation_return_error_literal (ctx->invocation, MM_CORE_ERROR, MM_CORE_ERROR_INVALID_ARGS, "Invalid type of facility lock to disable or empty key"); handle_disable_facility_lock_context_free (ctx);