mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 01:20:07 +01:00
2007-06-13 Tambet Ingo <tambet@ximian.com>
* src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too! (0 & 0 == 0, doh) git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2594 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
be798e43ab
commit
a04de676ca
2 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2007-06-13 Tambet Ingo <tambet@ximian.com>
|
||||
|
||||
* src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
|
||||
(0 & 0 == 0, doh)
|
||||
|
||||
* src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
|
||||
because the handling code will cause the next state change and signal listeners
|
||||
get the signals in wrong order.
|
||||
|
|
|
|||
|
|
@ -470,7 +470,7 @@ foreach_property_cb (gpointer key, gpointer value, gpointer user_data)
|
|||
guint cur_caps;
|
||||
|
||||
cur_caps = nm_ap_get_capabilities (ap);
|
||||
if (cur_caps & NM_802_11_CAP_NONE || cur_caps & NM_802_11_CAP_PROTO_NONE)
|
||||
if (cur_caps == NM_802_11_CAP_NONE || cur_caps & NM_802_11_CAP_PROTO_NONE)
|
||||
nm_ap_add_capabilities_for_wep (ap);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue