net: bt: fix C++ link errors

Signed-off-by: Rihards Skuja <rihardssk@mikrotik.com>
This commit is contained in:
Rihards Skuja 2020-08-14 10:39:33 +03:00 committed by Jukka Rissanen
commit 4bd247af70

View file

@ -14,6 +14,10 @@
#include <net/net_mgmt.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Management part definitions */
#define _NET_BT_LAYER NET_MGMT_LAYER_L2
@ -57,4 +61,8 @@ enum net_event_bt_cmd {
NET_MGMT_DEFINE_REQUEST_HANDLER(NET_REQUEST_BT_DISCONNECT);
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_INCLUDE_NET_BT_H_ */