Silence ifconfig down errors in mac80211 (#4067)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12856 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Florian Fainelli
2008-10-04 16:54:43 +00:00
parent cb2ed6c07b
commit 480affb551

View File

@@ -53,7 +53,7 @@ enable_mac80211() {
local first=1
for vif in $vifs; do
ifconfig "$ifname" down
ifconfig "$ifname" down 2>/dev/null
config_get ifname "$vif" ifname
config_get enc "$vif" encryption
config_get eap_type "$vif" eap_type