From 3cd84b3dfce6721a1c237ac264ce47249083a00d Mon Sep 17 00:00:00 2001 From: Darryl Quinn Date: Wed, 5 Aug 2015 13:40:45 -0500 Subject: [PATCH] bugfix: wrong syntax for iw --- files/usr/local/bin/wscan | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/usr/local/bin/wscan b/files/usr/local/bin/wscan index 51678171..13ca1b5d 100755 --- a/files/usr/local/bin/wscan +++ b/files/usr/local/bin/wscan @@ -154,7 +154,7 @@ die "bad interface" if not defined $iface; if($raw) { - system("/usr/bin/iw dev $iface wlan0 scan"); + system("/usr/bin/iw dev $iface scan"); system("/usr/sbin/iw dev $iface station dump"); exit; }