summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmonitor.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor.sh b/monitor.sh
index 5fb8493..9a98099 100755
--- a/monitor.sh
+++ b/monitor.sh
@@ -8,7 +8,7 @@ if [ $# -eq 1 ]; then
ifconfig wlan0 down
iwconfig wlan0 mode managed
ifconfig wlan0 up
- ifconfig wlan0 channel $1
+ iwconfig wlan0 channel $1
fi
ifconfig wlan0 down
iwconfig wlan0 mode monitor