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:
Johan Hedberg 2017-11-07 14:16:05 +02:00 committed by Johan Hedberg
commit 6abfab08d4

View file

@ -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);