From df0f9d6dcca11e3f6fe98464f01da853da02c25f Mon Sep 17 00:00:00 2001 From: Vasilis Tsiligiannis Date: Thu, 17 Mar 2011 07:23:18 +0000 Subject: [PATCH] hostap-driver: Fix adhoc mode SVN-Revision: 26199 --- 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