]> granicus.if.org Git - esp-idf/commit
bt : fix bug that bluetooth controller init/disable/enable/disable may cause exception
authorTian Hao <tianhao@espressif.com>
Tue, 17 Jul 2018 07:46:56 +0000 (15:46 +0800)
committerTian Hao <tianhao@espressif.com>
Wed, 1 Aug 2018 12:08:40 +0000 (20:08 +0800)
commite5abec310da1cba01a58693ef736a257bd91ea16
treec1c236cdba8951fa6826f8a9246c5150e2572d24
parent2c483a6b522b686431038219efd2c9feb2133ef0
bt : fix bug that bluetooth controller init/disable/enable/disable may cause exception

1. when one task do deinit/init/disable/enable, especially different cpu
core, it may cause controller crash in ISR handler
2. fix while BLE is scanning, bluetooth controller is disabled cause BLE
scan is not abort.
components/bt/bluedroid/hci/hci_hal_h4.c
components/bt/bt.c