mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-26 06:30:36 +01:00
2008-01-24 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-device-802-11-wireless.c - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3268 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
3d81b8f156
commit
6ef8fc433f
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2008-01-24 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* libnm-glib/nm-device-802-11-wireless.c
|
||||
- (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
|
||||
|
||||
2008-01-23 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* libnm-glib/libnm_glib.c
|
||||
|
|
|
|||
|
|
@ -214,7 +214,8 @@ nm_device_802_11_wireless_set_active_ap (NMDevice80211Wireless *self,
|
|||
priv->current_ap = NULL;
|
||||
}
|
||||
|
||||
if (ap_path && (!strcmp (ap_path, "/"))) {
|
||||
/* ap_path of "/" means no AP */
|
||||
if (ap_path && strcmp (ap_path, "/")) {
|
||||
priv->current_ap = get_access_point (self, ap_path, TRUE);
|
||||
if (priv->current_ap)
|
||||
g_object_ref (priv->current_ap);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue