From 075e8c055969829caa26e2ebc2ebd68138e46eaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Bruguera=20Mic=C3=B3?= Date: Sat, 23 Dec 2023 22:01:09 +0000 Subject: [PATCH] Fix freq. units in "interface already connected" text. --- src/scripts/create_ap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/create_ap b/src/scripts/create_ap index d9d8fd6..834b83b 100755 --- a/src/scripts/create_ap +++ b/src/scripts/create_ap @@ -1595,7 +1595,7 @@ if [[ $NO_VIRT -eq 0 ]]; then if is_wifi_connected ${WIFI_IFACE} && [[ $FREQ_BAND_SET -eq 0 ]]; then WIFI_IFACE_FREQ=$(iw dev ${WIFI_IFACE} link | grep -i freq | awk '{print $2}') WIFI_IFACE_CHANNEL=$(ieee80211_frequency_to_channel ${WIFI_IFACE_FREQ}) - echo -n "${WIFI_IFACE} is already associated with channel ${WIFI_IFACE_CHANNEL} (${WIFI_IFACE_FREQ} GHz)" + echo -n "${WIFI_IFACE} is already associated with channel ${WIFI_IFACE_CHANNEL} (${WIFI_IFACE_FREQ} MHz)" if is_5ghz_frequency $WIFI_IFACE_FREQ; then FREQ_BAND=5 else