[package] hostap-driver: Fix adhoc mode
authoracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 17 Mar 2011 07:23:18 +0000 (07:23 +0000)
committeracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 17 Mar 2011 07:23:18 +0000 (07:23 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26199 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/hostap-driver/files/lib/wifi/hostap.sh

index 29556b8..3de5b04 100755 (executable)
@@ -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
 
This page took 0.025708 seconds and 4 git commands to generate.