Bluetooth: Mesh: Fixed Provision Random buffer size

Fixed some minor issues, missing a byte for opcode.

Fixes: #19767

Signed-off-by: Lingao Meng <mengabc1086@gmail.com>
This commit is contained in:
Lingao Meng 2019-10-13 22:34:57 -07:00 committed by Johan Hedberg
commit 345b64f106

View file

@ -983,7 +983,7 @@ static void prov_confirm(const u8_t *data)
static void prov_random(const u8_t *data) static void prov_random(const u8_t *data)
{ {
PROV_BUF(rnd, 16); PROV_BUF(rnd, 17);
u8_t conf_verify[16]; u8_t conf_verify[16];
BT_DBG("Remote Random: %s", bt_hex(data, 16)); BT_DBG("Remote Random: %s", bt_hex(data, 16));