diff options
Diffstat (limited to 'hci/src/bt_hci_bdroid.c')
-rw-r--r-- | hci/src/bt_hci_bdroid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hci/src/bt_hci_bdroid.c b/hci/src/bt_hci_bdroid.c index 7b14eb3..46355de 100644 --- a/hci/src/bt_hci_bdroid.c +++ b/hci/src/bt_hci_bdroid.c @@ -376,7 +376,8 @@ static void *bt_hc_worker_thread(void *arg) if (events & HC_EVENT_PRELOAD) { - userial_open(USERIAL_PORT_1); + if (userial_open(USERIAL_PORT_1) == FALSE) + break; /* Calling vendor-specific part */ if (bt_vnd_if) |