From bd8f10e71dbbe5f0cc70e107d9218bb319cb5362 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 27 Aug 2013 21:26:48 -0700 Subject: [PATCH] shared: Fix constants for extended btsnoop types --- src/shared/btsnoop.c | 2 +- src/shared/btsnoop.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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