aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostap-driver/files
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2011-03-17 07:23:18 +0000
committerVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2011-03-17 07:23:18 +0000
commite8b720767eb35ae20510deee20a919bd2965ab7c (patch)
tree9deedb6e571116bcee24a5ae70002515f93591ba /package/hostap-driver/files
parentf5332256a9fcd1832c057619e6db7a39b3756d41 (diff)
downloadupstream-e8b720767eb35ae20510deee20a919bd2965ab7c.tar.gz
upstream-e8b720767eb35ae20510deee20a919bd2965ab7c.tar.bz2
upstream-e8b720767eb35ae20510deee20a919bd2965ab7c.zip
[package] hostap-driver: Fix adhoc mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26199 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostap-driver/files')
-rwxr-xr-xpackage/hostap-driver/files/lib/wifi/hostap.sh1
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