mirror of https://github.com/ARMmbed/mbed-os.git
BLE: Fix extended advertising check.
parent
ac47736259
commit
7f33145760
|
@ -261,7 +261,7 @@ void BLE::processEvents()
|
|||
};
|
||||
|
||||
// initialize extended module if supported
|
||||
if (HciGetLeSupFeat() == HCI_LE_SUP_FEAT_LE_EXT_ADV) {
|
||||
if (HciGetLeSupFeat() & HCI_LE_SUP_FEAT_LE_EXT_ADV) {
|
||||
DmExtAdvInit();
|
||||
DmExtScanInit();
|
||||
DmExtConnMasterInit();
|
||||
|
|
Loading…
Reference in New Issue