diff --git a/create_ap b/create_ap index 36ba067..d5e929d 100755 --- a/create_ap +++ b/create_ap @@ -680,7 +680,7 @@ if [[ $NO_VIRT -eq 0 ]]; then Try again with --no-virt." echo -n "Creating a virtual WiFi interface... " - if iw dev ${WIFI_IFACE} interface add ${VWIFI_IFACE} type __ap; then + if iw dev ${WIFI_IFACE} interface add ${VWIFI_IFACE} type managed; then # now we can call networkmanager_wait_until_unmanaged networkmanager_is_running && [[ $NM_OLDER_VERSION -eq 0 ]] && networkmanager_wait_until_unmanaged ${VWIFI_IFACE} echo "${VWIFI_IFACE} created."