mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-06 11:33:28 +08:00
shared: Fix constants for extended btsnoop types
This commit is contained in:
parent
56bcac170b
commit
bd8f10e71d
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user