Bluetooth: Mesh: Fix not including RSSI into network RX context
The RSSI was supposed to be stored in the net_rx struct. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
b451f132c5
commit
6abfab08d4
1 changed files with 1 additions and 1 deletions
|
@ -1167,7 +1167,7 @@ void bt_mesh_net_recv(struct net_buf_simple *data, s8_t rssi,
|
|||
enum bt_mesh_net_if net_if)
|
||||
{
|
||||
struct net_buf_simple *buf = NET_BUF_SIMPLE(29);
|
||||
struct bt_mesh_net_rx rx;
|
||||
struct bt_mesh_net_rx rx = { .rssi = rssi };
|
||||
|
||||
BT_DBG("rssi %d net_if %u", rssi, net_if);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue