blemesh: Fix compiler error when building without PB_ADV

Error: repos/apache-mynewt-core/net/nimble/host/mesh/src/prov.c: In
function 'bt_mesh_prov_reset_link':
repos/apache-mynewt-core/net/nimble/host/mesh/src/prov.c:1590:9:
error:
    'struct prov_link' has no member named 'rx'
         link.rx.buf = bt_mesh_proxy_get_buf();

X-Original-Commit: 1fe74b20f54f7e0ab9e6f62e05234cd5a1dc4c22
This commit is contained in:
Łukasz Rymanowski
2018-01-10 09:35:36 +01:00
parent 51104af13c
commit 22de9c0bbf
+1 -1
View File
@@ -131,6 +131,7 @@ struct prov_link {
#if (MYNEWT_VAL(BLE_MESH_PB_ADV))
u32_t id; /* Link ID */
#endif
struct {
u8_t id; /* Transaction ID */
@@ -154,7 +155,6 @@ struct prov_link {
/* Retransmit timer */
struct k_delayed_work retransmit;
} tx;
#endif
};
struct prov_rx {