Diff between 04ef992ff892cd1ff3e21b30c6b10adf390c3a9e and e3d07f58d15072c60703ab5bbe2e3b33513a000c

Changed Files

File Additions Deletions Status
emulator/bthost.c +0 -5 modified
emulator/bthost.h +0 -2 modified

Full Patch

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