diff options
author | Ćukasz Rymanowski <lukasz.rymanowski@codecoup.pl> | 2017-08-31 12:12:55 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2017-09-04 14:57:32 +0300 |
commit | 22d943a798d017a5be0882b9edfe12884b733191 (patch) | |
tree | 53ecd4eb3fb4a8211c89d39819c9198274c54761 /mesh/main.c | |
parent | a5b844cb8f070105e04fbc909a8a22f91f66948b (diff) | |
download | bluez-22d943a798d017a5be0882b9edfe12884b733191.tar.gz |
mesh: Fix for handling unprovisioned device
If there is no ServiceData there is no valid provisioning data for
PB-GATT
Diffstat (limited to 'mesh/main.c')
-rw-r--r-- | mesh/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh/main.c b/mesh/main.c index 96ac78544..604e57747 100644 --- a/mesh/main.c +++ b/mesh/main.c @@ -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; |