nimble/mesh: Fix bt_mesh_keys_resolve declaration

app_key is expected to be a pointer to pointer and not
artay of pointers.
This commit is contained in:
Szymon Janc
2021-12-30 12:50:20 +01:00
parent 4a008c8344
commit c79a7abbbd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -495,7 +495,7 @@ ssize_t bt_mesh_app_keys_get(uint16_t net_idx, uint16_t app_idxs[], size_t max,
int bt_mesh_keys_resolve(struct bt_mesh_msg_ctx *ctx,
struct bt_mesh_subnet **sub,
const uint8_t *app_key[16], uint8_t *aid)
const uint8_t **app_key, uint8_t *aid)
{
struct app_key *app = NULL;
+1 -1
View File
@@ -41,7 +41,7 @@ int bt_mesh_app_key_set(uint16_t app_idx, uint16_t net_idx,
*/
int bt_mesh_keys_resolve(struct bt_mesh_msg_ctx *ctx,
struct bt_mesh_subnet **sub,
const uint8_t *app_key[16], uint8_t *aid);
const uint8_t **app_key, uint8_t *aid);
/** @brief Iterate through all matching application keys and call @c cb on each.
*