summaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2014-03-24 12:10:48 -0500
committerDan Williams <dcbw@redhat.com>2014-05-06 21:51:24 -0500
commitd04309419578fc2253a611125b1ab30247c6fd57 (patch)
treef1e80b52b7578c5a96f39cf9e2d2bdcc921d5a4f /introspection
parent6080425088470ffb1ba0e52076e65d3b3c58aa00 (diff)
downloadNetworkManager-d04309419578fc2253a611125b1ab30247c6fd57.tar.gz
wwan: disable autoconnect if the given SIM PIN was wrong
If the given PIN was wrong, we really don't want to try that PIN again automatically because it might lock the SIM. To ensure that doesn't happen, disable autoconnect so that the user must manually request reconnection. (this doesn't fix auto-connect-with-a-wrong-PIN completely, as autoconnect is reset when resuming from sleep, but it's a start)
Diffstat (limited to 'introspection')
-rw-r--r--introspection/nm-device.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/introspection/nm-device.xml b/introspection/nm-device.xml
index 34afcfc2a8..f459bce4f5 100644
--- a/introspection/nm-device.xml
+++ b/introspection/nm-device.xml
@@ -622,6 +622,11 @@
Modem now ready and available.
</tp:docstring>
</tp:enumvalue>
+ <tp:enumvalue suffix="SIM_PIN_INCORRECT" value="59">
+ <tp:docstring>
+ The SIM PIN was incorrect.
+ </tp:docstring>
+ </tp:enumvalue>
</tp:enum>
<tp:struct name="NM_DEVICE_STATE_REASON_STRUCT">