From: Vasilis Tsiligiannis Date: Thu, 17 Mar 2011 07:23:18 +0000 (+0000) Subject: hostap-driver: Fix adhoc mode X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=df0f9d6dcca11e3f6fe98464f01da853da02c25f;p=openwrt%2Fstaging%2Faparcar.git hostap-driver: Fix adhoc mode SVN-Revision: 26199 --- 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