diff --git a/create_ap b/create_ap index 24e026c..de0abf2 100755 --- a/create_ap +++ b/create_ap @@ -466,7 +466,7 @@ else [[ "$WIFI_IFACE" == "$INTERNET_IFACE" ]] && die "You can not share your connection from the same interface if you are using --no-virt option." fi -can_transmit_to_channel ${WIFI_IFACE} ${CHANNEL} || die "Your adapter can not transmit to channel $CHANNEL." +can_transmit_to_channel ${WIFI_IFACE} ${CHANNEL} || die "Your adapter can not transmit to channel ${CHANNEL}." networkmanager_add_unmanaged ${WIFI_IFACE}