1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-28 00:39:23 +02:00

[package] hostap-driver: Fix adhoc mode

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26199 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
acinonyx 2011-03-17 07:23:18 +00:00
parent d0b16203c6
commit 44c312a516

View File

@ -124,6 +124,7 @@ enable_prism2() {
;; ;;
ap) iwconfig "$phy" mode master;; ap) iwconfig "$phy" mode master;;
wds) iwpriv "$phy" wds_add "$ssid";; wds) iwpriv "$phy" wds_add "$ssid";;
adhoc) iwconfig "$phy" mode ad-hoc;;
*) iwconfig "$phy" mode "$mode";; *) iwconfig "$phy" mode "$mode";;
esac esac