Bluetooth: Mesh: Check response address in Configuration Client
The Configuration Client doesn't check the address in a received response. This means that a response from any device will be accepted. This change ensures that the correct response will be accepted. Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
This commit is contained in:
parent
23ef49ba2e
commit
8bcc85b38c
2 changed files with 51 additions and 43 deletions
|
@ -28,8 +28,9 @@ struct bt_mesh_cfg_cli {
|
|||
|
||||
/* Internal parameters for tracking message responses. */
|
||||
struct k_sem op_sync;
|
||||
uint32_t op_pending;
|
||||
uint32_t op_pending;
|
||||
void *op_param;
|
||||
uint16_t op_addr;
|
||||
};
|
||||
|
||||
/** @def BT_MESH_MODEL_CFG_CLI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue