From: Daniel Wagner <daniel.wag...@bmw-carit.de> --- dundee/bluetooth.c | 9 +++++++++ 1 file changed, 9 insertions(+)
diff --git a/dundee/bluetooth.c b/dundee/bluetooth.c index 5a913cc..8762f51 100644 --- a/dundee/bluetooth.c +++ b/dundee/bluetooth.c @@ -141,6 +141,15 @@ static int bt_probe(GSList *uuids, const char *path, const char *dev_addr, DBG(""); + for (; uuids; uuids = uuids->next) { + const char *uuid = uuids->data; + + if (g_strcmp0(uuid, NAP_UUID) == 0) { + ofono_info("Device %s supports DUN and PAN at the same time. DUN is ignored", path); + return -EUNATCH; + } + } + /* We already have this device in our hash, ignore */ if (g_hash_table_lookup(bluetooth_hash, path) != NULL) return -EALREADY; -- 1.7.10.130.g36e6c _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono