Merge branch 'bugfix/ble_mesh_provisioner_fail_to_pub_v3.3' into 'release/v3.3'
ble_mesh: Fix Provisioner failed to publish (v3.3) See merge request espressif/esp-idf!8875
This commit is contained in:
commit
a809cdba76
1 changed files with 3 additions and 1 deletions
|
@ -1032,7 +1032,9 @@ int bt_mesh_model_publish(struct bt_mesh_model *model)
|
||||||
struct bt_mesh_model_pub *pub = model->pub;
|
struct bt_mesh_model_pub *pub = model->pub;
|
||||||
struct bt_mesh_app_key *key = NULL;
|
struct bt_mesh_app_key *key = NULL;
|
||||||
struct net_buf_simple *sdu = NULL;
|
struct net_buf_simple *sdu = NULL;
|
||||||
struct bt_mesh_msg_ctx ctx = {0};
|
struct bt_mesh_msg_ctx ctx = {
|
||||||
|
.model = model,
|
||||||
|
};
|
||||||
struct bt_mesh_net_tx tx = {
|
struct bt_mesh_net_tx tx = {
|
||||||
.sub = NULL,
|
.sub = NULL,
|
||||||
.ctx = &ctx,
|
.ctx = &ctx,
|
||||||
|
|
Loading…
Reference in a new issue