2006-12-19 Dan Williams <dcbw@redhat.com>
Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS plus a few other patches from wpa_supplicant bugzilla. * src/Makefile.am src/NetworkManagerPolicy.c src/NetworkManagerUtils.c src/NetworkManagerUtils.h src/nm-ap-security-leap.c src/nm-ap-security-wep.c src/nm-ap-security-wpa-eap.c src/nm-ap-security-wpa-psk.c src/nm-ap-security.c src/nm-ap-security.h src/nm-device-802-11-wireless.c src/nm-device-802-11-wireless.h src/supplicant-manager/nm-supplicant-config.c src/supplicant-manager/nm-supplicant-config.h src/supplicant-manager/nm-supplicant-interface.c src/supplicant-manager/nm-supplicant-interface.h src/supplicant-manager/nm-supplicant-marshal.list src/supplicant-manager/nm-supplicant-settings-verify.c src/supplicant-manager/nm-supplicant-settings-verify.h - Move all connection management and association handling to wpa_supplicant over dbus, rather than spawning a private copy git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2192 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -255,11 +255,15 @@ static NMDevice * nm_policy_auto_get_best_device (NMData *data, NMAccessPoint **
|
||||
highest_priority_dev = NM_DEVICE (best_wired_dev);
|
||||
else if (best_wireless_dev)
|
||||
{
|
||||
gboolean can_activate;
|
||||
|
||||
can_activate = nm_device_802_11_wireless_can_activate (best_wireless_dev);
|
||||
|
||||
*ap = nm_device_802_11_wireless_get_best_ap (best_wireless_dev);
|
||||
/* If the device doesn't have a "best" ap, then we can't use it */
|
||||
if (!*ap)
|
||||
highest_priority_dev = NULL;
|
||||
else
|
||||
else if (can_activate == TRUE)
|
||||
highest_priority_dev = NM_DEVICE (best_wireless_dev);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user