Thanks, it finally makes sense now and I can confirm the patch works, it would have helped if the description stated the issue was in bionic and fixed in newer version...
Anyway, the patch was fixed in the upload https://launchpad.net/ubuntu/+source/wpa/2:2.6-16ubuntu1 where it's noted that it was changed to not error out when not in AP mode.
The patch is similar to the one attached earlier on the bug
Thanks, it finally makes sense now and I can confirm the patch works, it would have helped if the description stated the issue was in bionic and fixed in newer version...
Anyway, the patch was fixed in the upload /launchpad. net/ubuntu/ +source/ wpa/2:2. 6-16ubuntu1
https:/
where it's noted that it was changed to not error out when not in AP mode.
The patch is similar to the one attached earlier on the bug