mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 00:50:12 +01:00
2005-10-17 Christopher Aillon <caillon@redhat.com>
* src/NetworkManagerDevice.c: (process_scan_results) Fix logic that checks to see whether we have an ESSID. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1026 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
cdb34bd30f
commit
9e577ba84c
2 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2005-10-17 Christopher Aillon <caillon@redhat.com>
|
||||
|
||||
* src/NetworkManagerDevice.c: (process_scan_results)
|
||||
Fix logic that checks to see whether we have an ESSID.
|
||||
|
||||
2005-10-15 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
Move scanning code into NetworkManager rather than use iwlib's
|
||||
|
|
|
|||
|
|
@ -4602,7 +4602,9 @@ static gboolean process_scan_results (NMDevice *dev, const guint8 *res_buf, guin
|
|||
char *essid = g_malloc (IW_ESSID_MAX_SIZE + 1);
|
||||
memcpy (essid, custom, ssid_len);
|
||||
essid[ssid_len] = '\0';
|
||||
if ((strlen (essid) >= 8) && (strcmp (essid, "<hidden>") != 0)) /* Stupid ipw drivers use <hidden> */
|
||||
if (!strlen(essid))
|
||||
set = FALSE;
|
||||
else if ((strlen (essid) == 8) && (strcmp (essid, "<hidden>") == 0)) /* Stupid ipw drivers use <hidden> */
|
||||
set = FALSE;
|
||||
if (set)
|
||||
nm_ap_set_essid (ap, essid);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue