Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1129826 Details for
Bug 918692
PIN/Password dialog for Mobile Broadband forces user to enter password, even if it's not needed
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
[patch] jk/no-auto-unlock-sim-rh918692
jk-no-auto-unlock-sim-rh918692.patch (text/plain), 1.80 KB, created by
Thomas Haller
on 2016-02-23 15:43:13 UTC
(
hide
)
Description:
[patch] jk/no-auto-unlock-sim-rh918692
Filename:
MIME Type:
Creator:
Thomas Haller
Created:
2016-02-23 15:43:13 UTC
Size:
1.80 KB
patch
obsolete
>From aaa28f88ef0bb20bfbcfdf1260bd3fd0faff98c6 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= <jklimes@redhat.com> >Date: Wed, 8 Jul 2015 12:41:11 +0200 >Subject: [PATCH 1/1] applet: introduce --no-auto-unlock-sim" option (rh > #918692) > >It disables auto-unlocking SIM feature. > >https://bugzilla.redhat.com/show_bug.cgi?id=918692 >--- > src/applet-device-broadband.c | 6 ++++++ > src/main.c | 3 +++ > 2 files changed, 9 insertions(+) > >diff --git a/src/applet-device-broadband.c b/src/applet-device-broadband.c >index 66ae9a5..79a518c 100644 >--- a/src/applet-device-broadband.c >+++ b/src/applet-device-broadband.c >@@ -35,6 +35,8 @@ > #include "mobile-helpers.h" > #include "mb-menu-item.h" > >+extern gboolean auto_unlock_sim; >+ > typedef struct { > NMApplet *applet; > NMDevice *device; >@@ -435,6 +437,10 @@ modem_get_sim_ready (MMModem *modem, > if (mm_modem_get_state (info->mm_modem) != MM_MODEM_STATE_LOCKED) > return; > >+ /* Do nothing if auto-unlocking feature is disabled */ >+ if (!auto_unlock_sim) >+ return; >+ > /* If we have a device ID ask the keyring for any saved SIM-PIN codes */ > if (mm_modem_get_device_identifier (info->mm_modem) && > mm_modem_get_unlock_required (info->mm_modem) == MM_MODEM_LOCK_SIM_PIN) { >diff --git a/src/main.c b/src/main.c >index bfd4914..4e5020a 100644 >--- a/src/main.c >+++ b/src/main.c >@@ -39,6 +39,7 @@ > static GMainLoop *loop = NULL; > gboolean shell_debug = FALSE; > gboolean with_agent = TRUE; >+gboolean auto_unlock_sim = TRUE; > > static void > usage (const char *progname) >@@ -68,6 +69,8 @@ int main (int argc, char *argv[]) > shell_debug = TRUE; > if (!strcmp (argv[i], "--no-agent")) > with_agent = FALSE; >+ if (!strcmp (argv[i], "--no-auto-unlock-sim")) >+ auto_unlock_sim = FALSE; > } > > bindtextdomain (GETTEXT_PACKAGE, NMALOCALEDIR); >-- >2.5.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 918692
: 1129826