summaryrefslogtreecommitdiffstats
path: root/hci/src/userial.c
diff options
context:
space:
mode:
Diffstat (limited to 'hci/src/userial.c')
-rwxr-xr-x[-rw-r--r--]hci/src/userial.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hci/src/userial.c b/hci/src/userial.c
index 71f5ae8..2d468b7 100644..100755
--- a/hci/src/userial.c
+++ b/hci/src/userial.c
@@ -65,6 +65,7 @@
#include "userial.h"
#include "utils.h"
#include "bt_vendor_lib.h"
+#include <sys/prctl.h>
/******************************************************************************
** Constants & Macros
@@ -242,6 +243,7 @@ static void *userial_read_thread(void *arg)
uint8_t *p;
USERIALDBG("Entering userial_read_thread()");
+ prctl(PR_SET_NAME, (unsigned long)"userial_read", 0, 0, 0);
rx_flow_on = TRUE;
userial_running = 1;