Fix wep encryption setting with madwifi (#1173)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 18 Jan 2007 14:43:21 +0000 (14:43 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 18 Jan 2007 14:43:21 +0000 (14:43 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6125 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/madwifi/files/lib/wifi/madwifi.sh

index 68fa325..4ba6cd1 100755 (executable)
@@ -122,7 +122,7 @@ enable_atheros() {
                                        iwconfig "$ifname" enc "[$idx]" "${key:-off}"
                                done
                                config_get key "$vif" key
-                               iwconfig "$ifname" enc "[${key:-1}]"
+                               iwconfig "$ifname" enc "${key:-1}"
                        ;;
                esac
 
This page took 0.025455 seconds and 4 git commands to generate.