This commit is contained in:
Roy Marples 2007-04-09 18:57:57 +00:00
parent 5076114aa7
commit c5ddc6ef74

View File

@ -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
;;
*)