mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-15 16:24:28 +08:00
mesh: Fix model publication status after set
This patch fixes usage of send_pub_status() when handling publication set message - mod_id was swapped with pub_addr, resulting in malformed message being sent back to the Config Client.
This commit is contained in:
parent
424f88e7b8
commit
5379e024fc
@ -185,8 +185,8 @@ static void config_pub_set(struct mesh_node *node, uint16_t net_idx,
|
||||
}
|
||||
|
||||
if (!unreliable)
|
||||
send_pub_status(node, net_idx, src, dst, status, ele_addr, ota,
|
||||
mod_id, idx, cred_flag, ttl, period, retransmit);
|
||||
send_pub_status(node, net_idx, src, dst, status, ele_addr,
|
||||
mod_id, ota, idx, cred_flag, ttl, period, retransmit);
|
||||
}
|
||||
|
||||
static void send_sub_status(struct mesh_node *node, uint16_t net_idx,
|
||||
|
Loading…
Reference in New Issue
Block a user