mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-06 09:04:55 +00:00
2004-11-15 Dan Williams <dcbw@redhat.com>
Patch from Tom Parker <palfrey@tevp.net>: * src/NetworkManagerDevice.c - Less output to console when no access points are found during a scan git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@313 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
e7f323cddb
commit
b36e976315
|
@ -1,3 +1,11 @@
|
|||
2004-11-15 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
Patch from Tom Parker <palfrey@tevp.net>:
|
||||
|
||||
* src/NetworkManagerDevice.c
|
||||
- Less output to console when no access
|
||||
points are found during a scan
|
||||
|
||||
2004-11-15 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
Patch from Tom Parker <palfrey@tevp.net>:
|
||||
|
|
|
@ -2458,7 +2458,7 @@ static void nm_device_do_normal_scan (NMDevice *dev)
|
|||
* Some Cisco cards don't report non-ESSID-broadcasting access points in their scans even though
|
||||
* the card associates with that AP just fine.
|
||||
*/
|
||||
if ((iter = nm_ap_list_iter_new (old_ap_list)))
|
||||
if (old_ap_list && (iter = nm_ap_list_iter_new (old_ap_list)))
|
||||
{
|
||||
char *essid = nm_device_get_essid (dev);
|
||||
|
||||
|
@ -2474,7 +2474,8 @@ static void nm_device_do_normal_scan (NMDevice *dev)
|
|||
}
|
||||
nm_ap_list_iter_free (iter);
|
||||
}
|
||||
nm_ap_list_unref (old_ap_list);
|
||||
if (old_ap_list)
|
||||
nm_ap_list_unref (old_ap_list);
|
||||
|
||||
/* Generate the "old" list from the 3rd and 4th oldest scans we've done */
|
||||
old_ap_list = nm_ap_list_combine (dev->options.wireless.cached_ap_list3, earliest_scan);
|
||||
|
|
Loading…
Reference in a new issue