diff options
author | Vasilis Tsiligiannis <acinonyx@openwrt.gr> | 2011-03-17 07:23:18 +0000 |
---|---|---|
committer | Vasilis Tsiligiannis <acinonyx@openwrt.gr> | 2011-03-17 07:23:18 +0000 |
commit | df0f9d6dcca11e3f6fe98464f01da853da02c25f (patch) | |
tree | 76f6d85e7ec993be981c04d97e1ddc1ba0d69587 /package/hostap-driver/files/lib | |
parent | c6e67df010b8afcfb0165090d99aee738dadec0a (diff) | |
download | master-31e0f0ae-df0f9d6dcca11e3f6fe98464f01da853da02c25f.tar.gz master-31e0f0ae-df0f9d6dcca11e3f6fe98464f01da853da02c25f.tar.bz2 master-31e0f0ae-df0f9d6dcca11e3f6fe98464f01da853da02c25f.zip |
hostap-driver: Fix adhoc mode
SVN-Revision: 26199
Diffstat (limited to 'package/hostap-driver/files/lib')
-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 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 |