From 417f6015c3dc8c47cf27daa59f64e0e36c521b9c Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Fri, 10 Nov 2017 19:02:08 +0100 Subject: New upstream version 1.10.0 --- src/devices/wwan/nm-device-modem.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/devices/wwan/nm-device-modem.c') diff --git a/src/devices/wwan/nm-device-modem.c b/src/devices/wwan/nm-device-modem.c index 22fb8c67..b79d145d 100644 --- a/src/devices/wwan/nm-device-modem.c +++ b/src/devices/wwan/nm-device-modem.c @@ -132,8 +132,7 @@ modem_prepare_result (NMModem *modem, * the device to be auto-activated anymore, which would risk locking * the SIM if the incorrect PIN continues to be used. */ - nm_device_set_autoconnect_intern (device, FALSE); - _LOGI (LOGD_MB, "disabling autoconnect due to failed SIM PIN"); + nm_device_autoconnect_blocked_set (device, NM_DEVICE_AUTOCONNECT_BLOCKED_WRONG_PIN); } nm_device_state_changed (device, NM_DEVICE_STATE_FAILED, reason); -- cgit 1.3.0-6-gf8a5