1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg/nimble: fix legacy advertising in statconn

This commit is contained in:
Gunar Schorcht 2022-08-16 13:46:40 +02:00
parent f2720940d7
commit 7b1e0c005f

View File

@ -49,7 +49,7 @@ typedef struct {
#endif
} slot_t;
static const uint8_t _ad[2] = { BLE_GAP_AD_FLAGS, BLUETIL_AD_FLAGS_DEFAULT };
static const uint8_t _ad[] = { 2, BLE_GAP_AD_FLAGS, BLUETIL_AD_FLAGS_DEFAULT };
static mutex_t _lock = MUTEX_INIT;
static slot_t _slots[NIMBLE_NETIF_MAX_CONN];