From 44c312a5163e84dc9daf92b4ded4b4b7e430527b Mon Sep 17 00:00:00 2001 From: acinonyx Date: Thu, 17 Mar 2011 07:23:18 +0000 Subject: [package] hostap-driver: Fix adhoc mode git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26199 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostap-driver/files/lib/wifi/hostap.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'package/hostap-driver/files/lib') diff --git a/package/hostap-driver/files/lib/wifi/hostap.sh b/package/hostap-driver/files/lib/wifi/hostap.sh index 29556b824..3de5b04a0 100755 --- a/package/hostap-driver/files/lib/wifi/hostap.sh +++ b/package/hostap-driver/files/lib/wifi/hostap.sh @@ -124,6 +124,7 @@ enable_prism2() { ;; ap) iwconfig "$phy" mode master;; wds) iwpriv "$phy" wds_add "$ssid";; + adhoc) iwconfig "$phy" mode ad-hoc;; *) iwconfig "$phy" mode "$mode";; esac -- cgit v1.2.3