For using my PC as a wifi hotspot, connecting to the hotspot is erratic. After repeated tries, it eventually connects. There is a warning in the journal:
"wpa_supplicant: Note: nl80211 driver interface is not designed to be used with ap_scan=2; this can result in connection failures" and
"NetworkManager: <info> [...] sup-iface[...,wlp2s0]: config: set interface ap_scan to 2".
I added the line "ap_scan=1" to /etc/wpa_supplicant/wpa_supplicant.conf, but the journal warning does not change, and still says "config: set interface ap_scan to 2".