[package] hostap-driver: Fix adhoc mode
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>
Thu, 17 Mar 2011 07:23:18 +0000 (07:23 +0000)
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>
Thu, 17 Mar 2011 07:23:18 +0000 (07:23 +0000)
SVN-Revision: 26199

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

index 29556b8241c0af513cdddaace7843dd74e074380..3de5b04a004a33c3c477109faad9e7838af72018 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