2005-01-21 Dan Williams <dcbw@redhat.com>
* Cache last-known-good wireless authentication method in NetworkManagerInfo, and use that method first during wireless device activation. Should speed up devices that need Shared Key authentication method since Open System is now the default. * Remove the hack to not do full activation on wired connections that are active when we launch, it causes too many problems with name resolution and was a hack in the first place. * Re-work wireless device activation again somewhat to have a clearer chain of events and to use last-known-good authentication method of the access point. Also provide better status throughout activation to ensure the applet can tell the user exactly what's going on. * Remove the "find wireless network" code and now simply attempt to activate with that access point. This reduces the delay between selecting "Other wireless Network" and actually connecting to that network. * Correctly stop the device's worker thread when its removed. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@388 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -46,12 +46,6 @@ typedef struct NMData
|
||||
GMainLoop *main_loop;
|
||||
gboolean info_daemon_avail;
|
||||
gboolean enable_test_devices;
|
||||
gboolean starting_up; /* Hack for not taking down an already-set-up wired device when we launch */
|
||||
|
||||
/* Main loop for wireless scanning thread */
|
||||
GMainContext *wscan_ctx;
|
||||
GMainLoop *wscan_loop;
|
||||
gboolean wscan_thread_done;
|
||||
|
||||
guint state_modified_idle_id;
|
||||
|
||||
@@ -61,8 +55,7 @@ typedef struct NMData
|
||||
struct NMDevice *active_device;
|
||||
gboolean active_device_locked;
|
||||
|
||||
struct NMDevice *user_device; /* Holds a device that the user requests NM to use. */
|
||||
GMutex *user_device_mutex;
|
||||
gboolean forcing_device;
|
||||
|
||||
gboolean update_ap_lists;
|
||||
struct NMAccessPointList *allowed_ap_list;
|
||||
@@ -75,8 +68,6 @@ struct NMDevice *nm_create_device_and_add_to_list (NMData *data, const char *ud
|
||||
|
||||
void nm_remove_device_from_list (NMData *data, const char *udi);
|
||||
|
||||
void nm_data_mark_state_changed (NMData *data);
|
||||
|
||||
void nm_schedule_status_signal_broadcast (NMData *data);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user