--- a/src/eric7/MicroPython/WifiDialogs/WifiController.py Fri Apr 25 16:22:02 2025 +0200 +++ b/src/eric7/MicroPython/WifiDialogs/WifiController.py Fri Apr 25 16:23:02 2025 +0200 @@ -302,13 +302,16 @@ """ from .WifiApConfigDialog import WifiApConfigDialog - dlg = WifiApConfigDialog(withIP=withIP, parent=self.__mpy) + securityModes = self.__mpy.getDevice().getSecurityModes() + dlg = WifiApConfigDialog( + withIP=withIP, securityModes=securityModes, parent=self.__mpy + ) if dlg.exec() == QDialog.DialogCode.Accepted: - ssid, password, security, hostname, ifconfig = dlg.getApConfig() + ssid, password, securityMode, hostname, ifconfig = dlg.getApConfig() ok, err = self.__mpy.getDevice().startAccessPoint( ssid, - security=security, + security=securityMode, password=password, hostname=hostname, ifconfig=ifconfig if withIP else None,