From b9602884d4a17ebf56d60eaca11faf24cb01a9e4 Mon Sep 17 00:00:00 2001 From: Maryll Castelino Date: Sat, 30 Apr 2022 10:24:08 +0530 Subject: [PATCH] Changed the text on The GUI to GHz from MHz The text "Custom frequency band set with ${FREQ_BAND}Mhz with channel ${CHANNEL}" is changed to "${FREQ_BAND}GHz" --- src/scripts/create_ap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/create_ap b/src/scripts/create_ap index 1f6fb5e..5024397 100755 --- a/src/scripts/create_ap +++ b/src/scripts/create_ap @@ -1587,7 +1587,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} MHz)" + echo -n "${WIFI_IFACE} is already associated with channel ${WIFI_IFACE_CHANNEL} (${WIFI_IFACE_FREQ} GHz)" if is_5ghz_frequency $WIFI_IFACE_FREQ; then FREQ_BAND=5 else @@ -1606,7 +1606,7 @@ if [[ $NO_VIRT -eq 0 ]]; then echo "channel------------------ ${CHANNEL}" fi elif is_wifi_connected ${WIFI_IFACE} && [[ $FREQ_BAND_SET -eq 1 ]]; then - echo "Custom frequency band set with ${FREQ_BAND}Mhz with channel ${CHANNEL}" + echo "Custom frequency band set with ${FREQ_BAND}Ghz with channel ${CHANNEL}" fi