Skip to content

Commit 4a008c8

Browse files
committed
nimble/mesh: Fix bt_mesh_beacon_auth declaration
net_id is 8 bytes long.
1 parent 605ade1 commit 4a008c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nimble/host/mesh/src/crypto.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static inline int bt_mesh_beacon_key(const uint8_t net_key[16],
7070
}
7171

7272
int bt_mesh_beacon_auth(const uint8_t beacon_key[16], uint8_t flags,
73-
const uint8_t net_id[16], uint32_t iv_index,
73+
const uint8_t net_id[8], uint32_t iv_index,
7474
uint8_t auth[8]);
7575

7676
static inline int bt_mesh_app_id(const uint8_t app_key[16], uint8_t app_id[1])

0 commit comments

Comments
 (0)