diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2014-08-12 15:46:32 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-08-13 12:17:24 +0300 |
commit | 0f539bbfa6a4b81a48d3efe69e645a6214891e2d (patch) | |
tree | 42dd625c97a88e53639d1a6e1b03c52f94aea186 /android/bluetoothd-snoop.c | |
parent | b4116446cee4384cc70fe884a923c06059e1592d (diff) | |
download | bluez-0f539bbfa6a4b81a48d3efe69e645a6214891e2d.tar.gz |
monitor: Use common maximum packet size definition
Diffstat (limited to 'android/bluetoothd-snoop.c')
-rw-r--r-- | android/bluetoothd-snoop.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/android/bluetoothd-snoop.c b/android/bluetoothd-snoop.c index 57f97f4f7..dc3486992 100644 --- a/android/bluetoothd-snoop.c +++ b/android/bluetoothd-snoop.c @@ -42,10 +42,8 @@ #define DEFAULT_SNOOP_FILE "/sdcard/btsnoop_hci.log" -#define MAX_PACKET_SIZE (1486 + 4) - static struct btsnoop *snoop = NULL; -static uint8_t monitor_buf[MAX_PACKET_SIZE]; +static uint8_t monitor_buf[BTSNOOP_MAX_PACKET_SIZE]; static int monitor_fd = -1; static void signal_callback(int signum, void *user_data) |