From a7fa8b5880b8094f513417ad7a4e48bd8eff842b Mon Sep 17 00:00:00 2001 From: oblique Date: Sun, 15 May 2016 11:23:51 +0300 Subject: [PATCH] Revert "Add 'managed' virtual interface instead of '__ap', hostapd will change it anyway" This reverts commit ec0df440f82e7a0daca10dc1b12a1c85bb47b9d7. Some adapters can have only one 'managed' and one '__ap'. --- create_ap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_ap b/create_ap index 8e6512f..0766a86 100755 --- a/create_ap +++ b/create_ap @@ -1510,7 +1510,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 managed; then + if iw dev ${WIFI_IFACE} interface add ${VWIFI_IFACE} type __ap; 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."