Skip to content

Commit b0b197f

Browse files
jerome-pouillerdkalowsk
authored andcommitted
drivers: wifi: siwx91x: Fix SLAAC other configuration issues
The interface was properly set "dormant" on disconnect. However on startup, it arrived in the system with "awake" status. Hence, some configuration frames were sent before the interface was connected. Then, when the interface was marked awake after the connection, the frames were not sent again since the operational mode did not changed. Therefore, Router Solicitations were not send, the Router Advertisements were not received and the IPv6 address was not set. Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
1 parent 2742eb4 commit b0b197f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/wifi/siwx91x/siwx91x_wifi.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1489,6 +1489,9 @@ static void siwx91x_iface_init(struct net_if *iface)
14891489
}
14901490
net_if_set_link_addr(iface, sidev->macaddr.octet, sizeof(sidev->macaddr.octet),
14911491
NET_LINK_ETHERNET);
1492+
if (IS_ENABLED(CONFIG_WIFI_SILABS_SIWX91X_NET_STACK_NATIVE)) {
1493+
net_if_dormant_on(sidev->iface);
1494+
}
14921495
siwx91x_sock_init(iface);
14931496
siwx91x_ethernet_init(iface);
14941497

0 commit comments

Comments
 (0)