IWD backend: NetworkManager do not reconnect after the connection is dropped by the other side
IWD backend seems to work fine except the case when the connection drops e.g. because router was restarted. The network manager does not try to reconnect, even after the network is up again and NM lists it. If I stop NM and manage iwd directly via iwctl, then iwd reconnect automatically after the network is up again. NM even does not try to connect to a different network when the connection gets dropped (this works with the wpa_supplicant backend).
Steps to reproduce:
- setup NM to use IWD as backend
- connect to a wifi network
- restart the router (e.g. turn radio off and on) and ensure that NM reports disconnection
- NM does not try to reconnect after the connection is down
My system:
$ NetworkManager --version
1.26.4-1
$ uname -a
Linux archlinux 5.10.4-arch2-1 #1 SMP PREEMPT Fri, 01 Jan 2021 05:29:53 +0000 x86_64 GNU/Linux
IWD version: 1.10-1