The current environment configuration has two devices connected, set as ap and client.
Update the connection status of ap-client via iwinfo
The problem is that if one side is suddenly powered off, iwinfo will not update
so I don't know if the ap-client is connected anymore
Is there any way to make sure that the ap-client is connected?