mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 18:40:16 +01:00
2007-08-20 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-11-wireless.c - (nm_device_802_11_wireless_get_ssid): don't traceback and die when the SSID isn't available; this can happen when the card is pulled or the module unloaded, during the post-removal deactivation paths, when the ioctl returns ENODEV git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2718 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
7442a81b7c
commit
281d2f71fd
2 changed files with 9 additions and 1 deletions
|
|
@ -1,3 +1,11 @@
|
|||
2007-08-20 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/nm-device-802-11-wireless.c
|
||||
- (nm_device_802_11_wireless_get_ssid): don't traceback and die when
|
||||
the SSID isn't available; this can happen when the card is pulled
|
||||
or the module unloaded, during the post-removal deactivation
|
||||
paths, when the ioctl returns ENODEV
|
||||
|
||||
2007-08-20 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/nm-device-802-11-wireless.c
|
||||
|
|
|
|||
|
|
@ -1433,7 +1433,7 @@ nm_device_802_11_wireless_get_ssid (NMDevice80211Wireless *self)
|
|||
wrq.u.essid.length = sizeof (ssid);
|
||||
wrq.u.essid.flags = 0;
|
||||
if (iw_get_ext (sk, iface, SIOCGIWESSID, &wrq) < 0) {
|
||||
nm_error ("Couldn't get SSID: %d", errno);
|
||||
nm_warning ("Couldn't get SSID: %d", errno);
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue