We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5facb50 commit a09fa5fCopy full SHA for a09fa5f
subsys/bluetooth/mesh/cdb.c
@@ -55,7 +55,7 @@ struct node_val {
55
56
/* NetKey storage information */
57
struct net_key_val {
58
- uint8_t kr_flag:1,
+ uint8_t unused:1,
59
kr_phase:7;
60
struct bt_mesh_key val[2];
61
} __packed;
@@ -491,7 +491,7 @@ static void store_cdb_subnet(const struct bt_mesh_cdb_subnet *sub)
491
492
memcpy(&key.val[0], &sub->keys[0].net_key, sizeof(struct bt_mesh_key));
493
memcpy(&key.val[1], &sub->keys[1].net_key, sizeof(struct bt_mesh_key));
494
- key.kr_flag = 0U; /* Deprecated */
+ key.unused = 0U;
495
key.kr_phase = sub->kr_phase;
496
497
snprintk(path, sizeof(path), "bt/mesh/cdb/Subnet/%x", sub->net_idx);
0 commit comments