summaryrefslogtreecommitdiff
path: root/emulator/server.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2013-01-31 14:08:19 -0600
committerJohan Hedberg <johan.hedberg@intel.com>2013-01-31 14:26:40 -0600
commit1ffa2638265db9376260babd61e0d46b1bc3f109 (patch)
treefcb41331a4ea01af6c9c2fb6421092511e5a7c7d /emulator/server.c
parentcdc90de8a7046f1d2cc5a2d34b5bf0543bfb5406 (diff)
downloadbluez-1ffa2638265db9376260babd61e0d46b1bc3f109.tar.gz
emulator: Create separate server BR/EDR/LE and BR/EDR types
Diffstat (limited to 'emulator/server.c')
-rw-r--r--emulator/server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/emulator/server.c b/emulator/server.c
index e4c4570b9..b2a4b02de 100644
--- a/emulator/server.c
+++ b/emulator/server.c
@@ -217,6 +217,9 @@ static void server_accept_callback(int fd, uint32_t events, void *user_data)
}
switch (server->type) {
+ case SERVER_TYPE_BREDRLE:
+ type = BTDEV_TYPE_BREDRLE;
+ break;
case SERVER_TYPE_BREDR:
type = BTDEV_TYPE_BREDR;
break;