]> 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>
Fri, 20 Jul 2018 06:10:55 +0000 (14:10 +0800)
commit6e4342a877091d1a3e66d7b2cc2770034ab7956a
treeeb31f9d63c31cdc26153a66ce68dd25e1f9b4382
parent5480a6b6e5b0cdd58a0f2a05f8773a232d7aa8c6
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
components/bt/lib