diff --git a/src/shared/btsnoop.c b/src/shared/btsnoop.c index 57731daa6..58c9f1db3 100644 --- a/src/shared/btsnoop.c +++ b/src/shared/btsnoop.c @@ -216,7 +216,7 @@ bool btsnoop_write_phy(struct btsnoop *btsnoop, struct timeval *tv, return false; switch (btsnoop->type) { - case BTSNOOP_TYPE_EXTENDED_PHY: + case BTSNOOP_TYPE_SIMULATOR: flags = (1 << 16) | frequency; break; diff --git a/src/shared/btsnoop.h b/src/shared/btsnoop.h index b94f99840..24580d45c 100644 --- a/src/shared/btsnoop.h +++ b/src/shared/btsnoop.h @@ -30,8 +30,8 @@ #define BTSNOOP_TYPE_UART 1002 #define BTSNOOP_TYPE_BCSP 1003 #define BTSNOOP_TYPE_3WIRE 1004 -#define BTSNOOP_TYPE_EXTENDED_HCI 2001 -#define BTSNOOP_TYPE_EXTENDED_PHY 2002 +#define BTSNOOP_TYPE_MONITOR 2001 +#define BTSNOOP_TYPE_SIMULATOR 2002 #define BTSNOOP_OPCODE_NEW_INDEX 0 #define BTSNOOP_OPCODE_DEL_INDEX 1