Skip to content

Commit cea56b1

Browse files
glarsennordicnordicjm
authored andcommitted
net: wifi: Fix conn_mgr binding
Fix missing conn_mgr binding for Wi-Fi/nrf700x. Signed-off-by: Georges Oates_Larsen <[email protected]>
1 parent 6f5194b commit cea56b1

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

samples/net/mqtt/overlay-tls-nrf70.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ CONFIG_NET_SOCKETS_SOCKOPT_TLS=y
2929

3030
# TLS credentials
3131
CONFIG_TLS_CREDENTIALS_BACKEND_PROTECTED_STORAGE=y
32+
33+
# Temporarily disable Wi-Fi conn_mgr integration;
34+
# Memory allocations required for it will be adjusted in a later commit
35+
CONFIG_L2_WIFI_CONNECTIVITY=n

subsys/net/l2_wifi_if_conn/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
menuconfig L2_WIFI_CONNECTIVITY
77
bool "L2 Wi-Fi Connectivity"
88
depends on NET_CONNECTION_MANAGER
9+
select NET_CONNECTION_MANAGER_CONNECTIVITY_WIFI_MGMT
910

1011
if L2_WIFI_CONNECTIVITY
1112

subsys/net/l2_wifi_if_conn/l2_wifi_conn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,4 @@ static struct conn_mgr_conn_api l2_wifi_conn_api = {
182182
.init = net_l2_wifi_init,
183183
};
184184

185-
CONN_MGR_CONN_DEFINE(L2_CONN_WLAN0, &l2_wifi_conn_api);
185+
CONN_MGR_CONN_DEFINE(CONNECTIVITY_WIFI_MGMT, &l2_wifi_conn_api);

0 commit comments

Comments
 (0)