From e3d07f58d15072c60703ab5bbe2e3b33513a000c Mon Sep 17 00:00:00 2001 From: Marcin Kraglak Date: Fri, 20 Dec 2013 11:53:47 +0100 Subject: [PATCH] emulator/bthost: Remove not used bthost_set_server_psm This function is not needed and has been replaced with bthost_add_l2cap_server. --- emulator/bthost.c | 5 ----- emulator/bthost.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/emulator/bthost.c b/emulator/bthost.c index 8e62d26e1..c627f8a8c 100644 --- a/emulator/bthost.c +++ b/emulator/bthost.c @@ -1304,11 +1304,6 @@ void bthost_add_l2cap_server(struct bthost *bthost, uint16_t psm, bthost->new_l2cap_conn_data = data; } -void bthost_set_server_psm(struct bthost *bthost, uint16_t psm) -{ - bthost_add_l2cap_server(bthost, psm, NULL, NULL); -} - void bthost_start(struct bthost *bthost) { if (!bthost) diff --git a/emulator/bthost.h b/emulator/bthost.h index 2b8f21207..97f011bcc 100644 --- a/emulator/bthost.h +++ b/emulator/bthost.h @@ -77,8 +77,6 @@ void bthost_le_start_encrypt(struct bthost *bthost, uint16_t handle, typedef void (*bthost_l2cap_connect_cb) (uint16_t handle, uint16_t cid, void *user_data); -void bthost_set_server_psm(struct bthost *bthost, uint16_t psm); - void bthost_add_l2cap_server(struct bthost *bthost, uint16_t psm, bthost_l2cap_connect_cb func, void *user_data); -- 2.47.3