mesh: Fix setting the right value for Static OOB type

According to Mesh Profile spec 1.0, chapter 5.4.1.1 table 5.20 Bit 0
shall be set when static OOB is available

X-Original-Commit: aed386724116c187564fd8b9ddb4cfaf2264000d
This commit is contained in:
Łukasz Rymanowski
2017-09-01 13:35:36 +02:00
parent b5c85dd6b7
commit 0d98b2a95f
+1 -1
View File
@@ -480,7 +480,7 @@ static void prov_invite(const u8_t *data)
net_buf_simple_add_u8(buf, 0x00);
/* Static OOB Type */
net_buf_simple_add_u8(buf, prov->static_val ? BIT(1) : 0x00);
net_buf_simple_add_u8(buf, prov->static_val ? BIT(0) : 0x00);
/* Output OOB Size */
net_buf_simple_add_u8(buf, prov->output_size);