Skip to content
Permalink
Browse files

net: bt: Set NET_IF_NO_AUTO_START flag

This make use of NET_IF_NO_AUTO_START flag so Bluetooth interfaces are
not automatically enabled after initialized.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
  • Loading branch information...
Vudentz authored and jukkar committed May 2, 2019
1 parent 95cadb7 commit 5506a4d228a5d39b47fdbc2dcfa863f1b5044d80
Showing with 2 additions and 0 deletions.
  1. +2 −0 subsys/net/l2/bluetooth/bluetooth.c
@@ -292,6 +292,8 @@ static void bt_iface_init(struct net_if *iface)

conn->iface = iface;

net_if_flag_set(iface, NET_IF_NO_AUTO_START);

#if defined(CONFIG_NET_L2_BT_ZEP1656)
/* Workaround Linux bug, see:
* https://github.com/zephyrproject-rtos/zephyr/issues/3111

0 comments on commit 5506a4d

Please sign in to comment.
You can’t perform that action at this time.