diff --git a/emulator/bthost.c b/emulator/bthost.c
index 8e62d26..c627f8a 100644
--- a/emulator/bthost.c
+++ b/emulator/bthost.c
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 2b8f212..97f011b 100644
--- a/emulator/bthost.h
+++ b/emulator/bthost.h
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);