mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-22 14:00:53 +02:00
2008-11-07 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting-wireless.c - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion that cased this function to return garbage, breaking hidden AP detection git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4278 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
214114fb2d
commit
26573a3599
2 changed files with 9 additions and 1 deletions
|
|
@ -1,3 +1,10 @@
|
|||
2008-11-07 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* libnm-util/nm-setting-wireless.c
|
||||
- (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
|
||||
that cased this function to return garbage, breaking hidden AP
|
||||
detection
|
||||
|
||||
2008-11-07 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
|
||||
|
|
|
|||
|
|
@ -90,6 +90,7 @@ typedef struct {
|
|||
GSList *seen_bssids;
|
||||
char *security;
|
||||
} NMSettingWirelessPrivate;
|
||||
|
||||
enum {
|
||||
PROP_0,
|
||||
PROP_SSID,
|
||||
|
|
@ -420,7 +421,7 @@ nm_setting_wireless_get_seen_bssid (NMSettingWireless *setting,
|
|||
{
|
||||
g_return_val_if_fail (NM_IS_SETTING_WIRELESS (setting), NULL);
|
||||
|
||||
return (const char *) g_slist_nth (NM_SETTING_WIRELESS_GET_PRIVATE (setting)->seen_bssids, i);
|
||||
return (const char *) g_slist_nth_data (NM_SETTING_WIRELESS_GET_PRIVATE (setting)->seen_bssids, i);
|
||||
}
|
||||
|
||||
static gint
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue