BLE: Revert change in stack setup initialisation.

While good this change breaks some old application that were adding GATT services before the initialisation of BLE.

This patch revert temporarily this change for now
pull/8998/head
Vincent Coubard 2018-12-06 11:21:43 +00:00
parent 1c201b4628
commit d9d4a214b8
1 changed files with 1 additions and 2 deletions

View File

@ -100,7 +100,7 @@ BLE::BLE(CordioHCIDriver& hci_driver) :
_last_update_us(0)
{
_hci_driver = &hci_driver;
stack_setup();
}
BLE::~BLE() { }
@ -393,7 +393,6 @@ void BLE::stack_setup()
void BLE::start_stack_reset()
{
_hci_driver->initialize();
stack_setup();
DmDevReset();
}