add wep fix from #998
[openwrt/svn-archive/archive.git] / package / broadcom-wl / files / lib / wifi / broadcom.sh
index 89728c3cf9931e390b6b6738e5e808367d8ca24a..c6b01e9ca1a0d32bdb545772f1deb7a809dd46d0 100644 (file)
@@ -130,7 +130,7 @@ enable_broadcom() {
                config_get enc "$vif" encryption
                case "$enc" in
                        WEP|wep)
-                               wsec_r=0
+                               wsec_r=1
                                wsec=1
                                defkey=1
                                config_get key "$vif" key