mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/ble_mesh_sync_zephyr_fixes' into 'master'
Bugfix/ble mesh sync zephyr fixes Closes BLEMESH-215 See merge request espressif/esp-idf!8912
This commit is contained in:
commit
3b85d4ef24
@ -80,8 +80,8 @@ static struct seg_tx {
|
||||
new_key:1; /* New/old key */
|
||||
u8_t nack_count; /* Number of unacked segs */
|
||||
u8_t ttl;
|
||||
u8_t seg_pending:5, /* Number of segments pending */
|
||||
attempts:3;
|
||||
u8_t seg_pending; /* Number of segments pending */
|
||||
u8_t attempts; /* Transmit attempts */
|
||||
const struct bt_mesh_send_cb *cb;
|
||||
void *cb_data;
|
||||
struct k_delayed_work retransmit; /* Retransmit timer */
|
||||
@ -837,9 +837,11 @@ static int sdu_recv(struct bt_mesh_net_rx *rx, u32_t seq, u8_t hdr,
|
||||
return 0;
|
||||
}
|
||||
|
||||
BT_WARN("%s, No matching AppKey", __func__);
|
||||
if (rx->local_match) {
|
||||
BT_WARN("%s, No matching AppKey", __func__);
|
||||
}
|
||||
bt_mesh_free_buf(sdu);
|
||||
return -EINVAL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct seg_tx *seg_tx_lookup(u16_t seq_zero, u8_t obo, u16_t addr)
|
||||
|
Loading…
Reference in New Issue
Block a user