summaryrefslogtreecommitdiff
path: root/emulator
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-06-04 16:26:28 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-06-04 17:01:12 -0700
commit125fa19faad894b8ca1e6e4d5abe4e0691810f54 (patch)
treef77c86220e16096554189268c297e1f49651369f /emulator
parent2ab15d89c1b6fb14ee4d00b46f4489a30a6843b4 (diff)
downloadbluez-125fa19faad894b8ca1e6e4d5abe4e0691810f54.tar.gz
btdev: Remove debugs
Remove left-over util_debugs.
Diffstat (limited to 'emulator')
-rw-r--r--emulator/btdev.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/emulator/btdev.c b/emulator/btdev.c
index 7db7a746a..ad5bb8d92 100644
--- a/emulator/btdev.c
+++ b/emulator/btdev.c
@@ -3424,7 +3424,6 @@ static int cmd_add_wl(struct btdev *dev, const void *data, uint8_t len)
uint8_t status;
bool exists = false;
int i, pos = -1;
- char addr[18];
/* Valid range for address type is 0x00 to 0x01 */
if (cmd->addr_type > 0x01)
@@ -3433,10 +3432,6 @@ static int cmd_add_wl(struct btdev *dev, const void *data, uint8_t len)
for (i = 0; i < WL_SIZE; i++) {
struct btdev_wl *wl = &dev->le_wl[i];
- ba2str(&wl->addr, addr);
- util_debug(dev->debug_callback, dev->debug_data,
- "type 0x%02x addr %s", wl->type, addr);
-
if (WL_ADDR_EQUAL(wl, cmd->addr_type, &cmd->addr)) {
exists = true;
break;
@@ -3455,10 +3450,6 @@ static int cmd_add_wl(struct btdev *dev, const void *data, uint8_t len)
wl_add(&dev->le_wl[pos], cmd->addr_type, (bdaddr_t *)&cmd->addr);
- ba2str(&(dev->le_wl[pos]).addr, addr);
- util_debug(dev->debug_callback, dev->debug_data,
- "type 0x%02x addr %s", dev->le_wl[pos].type, addr);
-
status = BT_HCI_ERR_SUCCESS;
cmd_complete(dev, BT_HCI_CMD_LE_ADD_TO_WHITE_LIST,
&status, sizeof(status));