NetworkManager/src/modem-manager
Dan Williams 096f87e160 modem: ignore Enabled property changes while activating
Due to various ordering issues in ModemManager, when the Enable()
call fails because a PIN is required, MM will disable the modem
and *then* complete the dbus call.  That means that NM gets the
Enable property change before the Enable() call completes, and NM
would then transition the device to DISCONNECTED.  What we
really want to do is get the response from MM and then figure out
whether to fail activation or get secrets, not go to DISCONNECTED.

To fix this, ignore Enabled property changes to FALSE while
activating so we can handle it ourselves.  There are still a few
fixes left in nm-applet to make the secrets request for PINs work
on-the-fly, but saved in the connection works fine.
2010-02-09 23:50:26 -08:00
..
Makefile.am build: always link locally-built libraries first (bgo #580131) 2009-08-20 12:31:17 -05:00
nm-modem-cdma.c misc: license fixups 2010-01-21 15:11:50 -08:00
nm-modem-cdma.h misc: license fixups 2010-01-21 15:11:50 -08:00
nm-modem-gsm.c gsm: handle PIN requests during modem enable too (bgo #609197) 2010-02-08 13:16:14 -08:00
nm-modem-gsm.h misc: license fixups 2010-01-21 15:11:50 -08:00
nm-modem-manager.c misc: license fixups 2010-01-21 15:11:50 -08:00
nm-modem-manager.h misc: license fixups 2010-01-21 15:11:50 -08:00
nm-modem-types.h misc: license fixups 2010-01-21 15:11:50 -08:00
nm-modem.c modem: ignore Enabled property changes while activating 2010-02-09 23:50:26 -08:00
nm-modem.h misc: license fixups 2010-01-21 15:11:50 -08:00