samples: bluetooth: ipsp: add net config auto init
Add CONFIG_NET_CONFIG_AUTO_INIT=y to enable the bluetooth device network interface. Due to #27405 feature PR allowing application to init the network whenever it wants, IPSP sample stopped initing the bluetooth network. The IPSP sample was not updated to enable CONFIG_NET_CONFIG_AUTO_INIT in prj.conf and didn't call net_config_init_app(...) as suggested in the feature PR. Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
This commit is contained in:
parent
9eedb36b68
commit
15c69a8bbc
|
@ -21,6 +21,7 @@ CONFIG_NET_IF_UNICAST_IPV6_ADDR_COUNT=3
|
|||
CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=2
|
||||
CONFIG_NET_MAX_CONTEXTS=6
|
||||
|
||||
CONFIG_NET_CONFIG_AUTO_INIT=y
|
||||
CONFIG_NET_CONFIG_SETTINGS=y
|
||||
CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1"
|
||||
CONFIG_NET_CONFIG_PEER_IPV6_ADDR="2001:db8::2"
|
||||
|
|
|
@ -26,6 +26,7 @@ CONFIG_NET_MAX_CONTEXTS=6
|
|||
CONFIG_NET_SHELL=y
|
||||
CONFIG_BT_SHELL=y
|
||||
|
||||
CONFIG_NET_CONFIG_AUTO_INIT=y
|
||||
CONFIG_NET_CONFIG_SETTINGS=y
|
||||
CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1"
|
||||
CONFIG_NET_CONFIG_PEER_IPV6_ADDR="2001:db8::2"
|
||||
|
|
|
@ -22,6 +22,7 @@ CONFIG_NET_IF_UNICAST_IPV6_ADDR_COUNT=3
|
|||
CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=2
|
||||
CONFIG_NET_MAX_CONTEXTS=6
|
||||
|
||||
CONFIG_NET_CONFIG_AUTO_INIT=y
|
||||
CONFIG_NET_CONFIG_SETTINGS=y
|
||||
CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1"
|
||||
CONFIG_NET_CONFIG_PEER_IPV6_ADDR="2001:db8::2"
|
||||
|
|
Loading…
Reference in a new issue