From ca110b418d66fa8c74be2e4a327b2d3a3fd22249 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 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 -- 2.30.2