mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-15 16:24:28 +08:00
mesh: Fix for handling unprovisioned device
If there is no ServiceData there is no valid provisioning data for PB-GATT
This commit is contained in:
parent
a5b844cb8f
commit
22d943a798
@ -503,7 +503,7 @@ static bool parse_service_data(GDBusProxy *proxy, const char *target_uuid,
|
||||
}
|
||||
|
||||
if (!g_dbus_proxy_get_property(proxy, "ServiceData", &iter))
|
||||
return true;
|
||||
return false;
|
||||
|
||||
if (dbus_message_iter_get_arg_type(&iter) != DBUS_TYPE_ARRAY)
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user