From f7081a1a6be47f33e00a22e8126943018b2cd2ac Mon Sep 17 00:00:00 2001 From: v1s1t0r1sh3r3 Date: Wed, 20 Mar 2024 09:46:01 +0100 Subject: [PATCH] Fix #583. Improve the 5Ghz band capability on adapters --- CHANGELOG.md | 2 +- airgeddon.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5f51cade..0195499f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ ### 11.30 - - Improvements on 5Ghz country code check + - Improvements on 5Ghz country code check and 5Ghz band capability on adapters ### 11.22 - Possibility to add manually ESSID name for selected hidden networks diff --git a/airgeddon.sh b/airgeddon.sh index 6c2dc5d9e..1ad8a68e1 100755 --- a/airgeddon.sh +++ b/airgeddon.sh @@ -1466,7 +1466,7 @@ function get_5ghz_band_info_from_phy_interface() { debug_print - if iw phy "${1}" channels 2> /dev/null | grep -i "5180 MHz" > /dev/null; then + if iw phy "${1}" channels 2> /dev/null | grep -Ei "5180(\.0)? MHz" > /dev/null; then if "${AIRGEDDON_5GHZ_ENABLED:-true}"; then return 0 else