aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net.BSD/iwconfig.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net.BSD/iwconfig.sh b/net.BSD/iwconfig.sh
index e7134082..73f23373 100644
--- a/net.BSD/iwconfig.sh
+++ b/net.BSD/iwconfig.sh
@@ -145,7 +145,7 @@ iwconfig_associate() {
mode="adhoc"
if ! LC_ALL=C ifconfig "${IFACE}" | \
grep -q "^[[:space:]]*media: .*adhoc" ; then
- ifconfig "${IFACE}" down -mediaopt adhoc up
+ ifconfig "${IFACE}" down mediaopt adhoc up
fi
;;
*)