summaryrefslogtreecommitdiff
path: root/mesh/mesh-config.h
diff options
context:
space:
mode:
authorInga Stotland <inga.stotland@intel.com>2020-08-06 18:38:25 -0700
committerBrian Gix <brian.gix@intel.com>2020-08-10 14:47:08 -0700
commit5a12b9b757a4610a60da3940649ffa8daf7cf40c (patch)
treed60f42e7c4808d5e300ad034d97c776eef5f7c74 /mesh/mesh-config.h
parentca5dfd4ea071c86ff291c688ec9ca3a9b02ae509 (diff)
downloadbluez-5a12b9b757a4610a60da3940649ffa8daf7cf40c.tar.gz
mesh: Clean up handling of config subscription messages
This provides better functional grouping based on whether a group or a virtual label is used for the subscription address. Also, use a single point for sending out the composed Config Server status messages.
Diffstat (limited to 'mesh/mesh-config.h')
-rw-r--r--mesh/mesh-config.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mesh/mesh-config.h b/mesh/mesh-config.h
index 7dfa9f20c..f15f3f376 100644
--- a/mesh/mesh-config.h
+++ b/mesh/mesh-config.h
@@ -24,9 +24,9 @@ struct mesh_config;
struct mesh_config_sub {
bool virt;
union {
- uint16_t addr;
- uint8_t virt_addr[16];
- } src;
+ uint16_t grp;
+ uint8_t label[16];
+ } addr;
};
struct mesh_config_pub {