From e8b720767eb35ae20510deee20a919bd2965ab7c Mon Sep 17 00:00:00 2001 From: Vasilis Tsiligiannis Date: Thu, 17 Mar 2011 07:23:18 +0000 Subject: [PATCH] [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(+) diff --git a/package/hostap-driver/files/lib/wifi/hostap.sh b/package/hostap-driver/files/lib/wifi/hostap.sh index 29556b8241..3de5b04a00 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