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:
Dan Williams 2004-11-15 14:54:33 +00:00
parent e7f323cddb
commit b36e976315
2 changed files with 11 additions and 2 deletions

View file

@ -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>:

View file

@ -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);