[package] hostap-driver: Fix adhoc mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26199 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
f5332256a9
commit
e8b720767e
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue