From 9e0f37bd627d872577e9f1236a4d72b046ea6a2a Mon Sep 17 00:00:00 2001 From: Lukas Macura Date: Fri, 9 Dec 2016 17:52:34 +0100 Subject: [PATCH] Repaired iwx discovery --- iwx/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iwx/functions.sh b/iwx/functions.sh index 5533c81..490bd89 100644 --- a/iwx/functions.sh +++ b/iwx/functions.sh @@ -2,9 +2,9 @@ wifi_ifphylist() { if [ "$1" = "phy" ]; then - iw dev | grep Interface | cut -d ' ' -f 2 - else iw phy | grep Wiphy | cut -d ' ' -f 2 + else + iw dev | grep Interface | cut -d ' ' -f 2 fi }