bugfix: wrong syntax for iw

This commit is contained in:
Darryl Quinn 2015-08-05 13:40:45 -05:00
parent 28f038edd5
commit 3cd84b3dfc
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ die "bad interface" if not defined $iface;
if($raw) 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"); system("/usr/sbin/iw dev $iface station dump");
exit; exit;
} }