diff options
author | acinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-03-17 07:23:18 +0000 |
---|---|---|
committer | acinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-03-17 07:23:18 +0000 |
commit | 44c312a5163e84dc9daf92b4ded4b4b7e430527b (patch) | |
tree | 9deedb6e571116bcee24a5ae70002515f93591ba | |
parent | d0b16203c647d4e7b2979084694a200c9f500ff5 (diff) |
[package] hostap-driver: Fix adhoc mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26199 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | package/hostap-driver/files/lib/wifi/hostap.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |