![]() - Use the password stored in the connection profile instead of asking each time to the user - `Disconnect` menu item wasn't shown even when connected When entering the Wi-Fi menu first, `nmcli_connection_info` is called with `NULL`. If we return `false` here, the menu doesn't show the `Disconnect` menu item even when the wifi is on and connected. - Don't consider wired connections when checking if the device is connected `cmd_file = popen("nmcli -f NAME c show --active | tail -n+2", "r");` That command returns all active connections, even the wired ones. That means that if the wifi is not connected but we have a wired connection, retroarch shows the Disconnect menu item to disconnect ... a non-existent wifi connection. |
||
---|---|---|
.. | ||
connmanctl.c | ||
nmcli.c |