Diff between 66f4c241beb46e4eb3e0627650b3e984f01a7ff5 and e21806eafc80d67894bd3642c8bc063f16ebb46f
Changed Files
| File | Additions | Deletions | Status |
| tools/mesh-gatt/config-client.c | +1 | -1 | modified |
Full Patch
diff --git a/tools/mesh-gatt/config-client.c b/tools/mesh-gatt/config-client.c
index 5e6374f..ed31c67 100644
--- a/tools/mesh-gatt/config-client.c
+++ b/tools/mesh-gatt/config-client.c
@@ -591,7 +591,7 @@ static void cmd_app_key(int argc, char *argv[], uint32_t opcode)
return bt_shell_noninteractive_quit(EXIT_FAILURE);
}
- msg[n++] = net_idx & 0xf;
+ msg[n++] = net_idx & 0xff;
msg[n++] = ((net_idx >> 8) & 0xf) |
((app_idx << 4) & 0xf0);
msg[n++] = app_idx >> 4;