shared: Fix constants for extended btsnoop types

This commit is contained in:
Marcel Holtmann 2013-08-27 21:26:48 -07:00
parent 56bcac170b
commit bd8f10e71d
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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