Bluetooth: Mesh: Fixes prov string log dump

Missing log_strdup around the string.

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
This commit is contained in:
Lingao Meng 2020-11-13 20:37:58 -08:00 committed by Johan Hedberg
commit 9cd34f8675

View file

@ -223,7 +223,7 @@ int bt_mesh_input_number(uint32_t num)
int bt_mesh_input_string(const char *str)
{
BT_DBG("%s", str);
BT_DBG("%s", log_strdup(str));
if (!atomic_test_and_clear_bit(bt_mesh_prov_link.flags, WAIT_STRING)) {
return -EINVAL;