diff options
author | Inga Stotland <inga.stotland@intel.com> | 2020-06-05 14:31:43 -0700 |
---|---|---|
committer | Brian Gix <brian.gix@intel.com> | 2020-06-08 13:30:50 -0700 |
commit | bae266797bb2e9c02d8cf2f6522e73f96b41ad52 (patch) | |
tree | d0c33a9528418256a7ebb2634dbd5ef3833d1301 /mesh/model.c | |
parent | b55b94c647a474a47ad15f468e749ea95f0e8b19 (diff) | |
download | bluez-bae266797bb2e9c02d8cf2f6522e73f96b41ad52.tar.gz |
mesh: Remove unused/redundant functions
This removes mesh_net_provisioner_mode_set (unused) and
mesh_net_provisioner_mode_get (duplicates node_is_provisioner)
Diffstat (limited to 'mesh/model.c')
-rw-r--r-- | mesh/model.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh/model.c b/mesh/model.c index ec79a69b8..f2dfb2644 100644 --- a/mesh/model.c +++ b/mesh/model.c @@ -907,7 +907,7 @@ bool mesh_model_rx(struct mesh_node *node, bool szmict, uint32_t seq0, * The packet needs to be decoded by the correct key which * is hinted by key_aid, but is not necessarily definitive */ - if (key_aid == APP_AID_DEV || mesh_net_provisioner_mode_get(net)) + if (key_aid == APP_AID_DEV || node_is_provisioner(node)) decrypt_idx = dev_packet_decrypt(node, data, size, szmict, src, dst, key_aid, seq0, iv_index, clear_text); |