diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index e865a8be66..3a8b116d19 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -411,6 +411,7 @@ enable_mac80211() { [ $idx -eq $key ] && ikey="d:$ikey" append keyspec "$ikey" } + done ;; *) append keyspec "d:0:$(prepare_key_wep "$key")" ;; esac