Ignore 'BSSID invalid' error when getting BSSID properties

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2963 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2007-10-09 21:51:55 +00:00
parent a29316d81b
commit 1fec30ad86

View file

@ -483,7 +483,8 @@ bssid_properties_cb (DBusGProxy *proxy, DBusGProxyCall *call_id, gpointer user_
if (!dbus_g_proxy_end_call (proxy, call_id, &err,
dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE), &hash,
G_TYPE_INVALID)) {
nm_warning ("Couldn't retrieve BSSID properties: %s.", err->message);
if (!strstr (err->message, "The BSSID requested was invalid"))
nm_warning ("Couldn't retrieve BSSID properties: %s.", err->message);
g_error_free (err);
} else {
g_signal_emit (info->interface,