mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-29 08:43:33 +00:00
nimble/hs: fix the LE Supported feature mask
when set the features we set the htole64 in
ble_ll_hci.c.It will match the value about it
This commit is contained in:
committed by
Szymon Janc
parent
93b3ab71dc
commit
c3fee3ad34
@@ -40,7 +40,7 @@ ble_hs_startup_read_sup_f_tx(void)
|
||||
/* for now we don't use it outside of init sequence so check this here
|
||||
* LE Supported (Controller) byte 4, bit 6
|
||||
*/
|
||||
if (!(rsp.features & 0x0000006000000000)) {
|
||||
if (!(le64toh(rsp.features) & 0x0000006000000000)) {
|
||||
BLE_HS_LOG(ERROR, "Controller doesn't support LE\n");
|
||||
return BLE_HS_ECONTROLLER;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user