Skip to content

Commit

Permalink
net: bt: Set NET_IF_NO_AUTO_START flag
Browse files Browse the repository at this point in the history
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 7, 2019
1 parent 95cadb7 commit 5506a4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions subsys/net/l2/bluetooth/bluetooth.c
Expand Up @@ -292,6 +292,8 @@ static void bt_iface_init(struct net_if *iface)


conn->iface = iface; conn->iface = iface;


net_if_flag_set(iface, NET_IF_NO_AUTO_START);

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

0 comments on commit 5506a4d

Please sign in to comment.