Bluetooth: Missing _ when concat with name field

Add missing `_` between struct type with _name.

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
This commit is contained in:
Lingao Meng 2021-08-19 18:29:52 +08:00 committed by Johan Hedberg
commit 5989cfbfc7

View file

@ -940,7 +940,7 @@ void bt_conn_cb_register(struct bt_conn_cb *cb);
*/
#define BT_CONN_CB_DEFINE(_name) \
static const STRUCT_SECTION_ITERABLE(bt_conn_cb, \
_CONCAT(bt_conn_cb, \
_CONCAT(bt_conn_cb_, \
_name))
/** @brief Enable/disable bonding.