]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-link.c
network: wifi: try to reconfigure when connected 25477/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 22 Nov 2022 05:24:32 +0000 (14:24 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 22 Nov 2022 05:44:26 +0000 (14:44 +0900)
commit8a4ad01a72481a6a7c0309064dd2dbd814818c94
tree13d5f4b42df28b74658eaec1cbbc8eb2b4bf636c
parent4642371d0764078374db4175f6e6f409618b72a6
network: wifi: try to reconfigure when connected

Sometimes, RTM_NEWLINK message with carrier is received earlier than
NL80211_CMD_CONNECT. To make SSID= or other WiFi related settings in
[Match] section work, let's try to reconfigure the interface.

Fixes a bug introduced by 96f5f9ef9a1ba5146d3357c1548fb675d3bd5b68.

Fixes #25384.
src/network/networkd-link.c
src/network/networkd-link.h
src/network/networkd-wifi.c