summaryrefslogtreecommitdiff
path: root/emulator/server.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-10-29 15:01:43 -0700
committerMarcel Holtmann <marcel@holtmann.org>2012-10-29 15:01:43 -0700
commit09c2d256473079f0a7a8cabcc10fc0ede5928226 (patch)
tree4ef3dd4e4988e29f5db39a04cfc6244667cedeb0 /emulator/server.c
parent43ec488a22884a758f2254c28235aacacb96d5ee (diff)
downloadbluez-09c2d256473079f0a7a8cabcc10fc0ede5928226.tar.gz
emulator: Allow specifying controller type
Diffstat (limited to 'emulator/server.c')
-rw-r--r--emulator/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/emulator/server.c b/emulator/server.c
index fa8f9c3bd..f2455e9d8 100644
--- a/emulator/server.c
+++ b/emulator/server.c
@@ -205,7 +205,7 @@ static void server_accept_callback(int fd, uint32_t events, void *user_data)
return;
}
- client->btdev = btdev_create(server->id);
+ client->btdev = btdev_create(BTDEV_TYPE_BREDR, server->id);
if (!client->btdev) {
close(client->fd);
free(client);