mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 17:50:16 +01:00
2006-12-04 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/nm-supplicant-interface.c - (bssid_properties_cb): don't treat DBus errors as valid scanned AP messages git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2159 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
e4b837f97e
commit
d9e7b0082a
2 changed files with 17 additions and 0 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2006-12-04 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/supplicant-manager/nm-supplicant-interface.c
|
||||
- (bssid_properties_cb): don't treat DBus errors as valid
|
||||
scanned AP messages
|
||||
|
||||
2006-12-04 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/supplicant-manager/nm-supplicant-interface.[ch]
|
||||
|
|
|
|||
|
|
@ -506,6 +506,17 @@ bssid_properties_cb (DBusPendingCall * pcall,
|
|||
if (!(reply = dbus_pending_call_steal_reply (pcall)))
|
||||
goto out;
|
||||
|
||||
if (dbus_message_get_type (reply) == DBUS_MESSAGE_TYPE_ERROR) {
|
||||
if (!dbus_set_error_from_message (&error, reply)) {
|
||||
nm_warning ("Couldn't set error from DBus message.");
|
||||
goto out;
|
||||
}
|
||||
nm_warning ("Couldn't retrieve BSSID properties: %s - %s",
|
||||
error.name,
|
||||
error.message);
|
||||
goto out;
|
||||
}
|
||||
|
||||
g_signal_emit (G_OBJECT (self),
|
||||
nm_supplicant_interface_signals[SCANNED_AP],
|
||||
0,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue