Bluetooth: include: Fix wrong docs

We can't call function which used by static init veriable.

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
This commit is contained in:
Lingao Meng 2021-08-27 10:21:03 +08:00 committed by Anas Nashif
commit e35cbfb85c

View file

@ -386,7 +386,7 @@ enum {
* The application can set the device name itself by including the
* following in the advertising data.
* @code
* BT_DATA(BT_DATA_NAME_COMPLETE, name, strlen(name))
* BT_DATA(BT_DATA_NAME_COMPLETE, name, sizeof(name) - 1)
* @endcode
*/
BT_LE_ADV_OPT_USE_NAME = BIT(3),