From: Florian Fainelli Date: Sat, 4 Oct 2008 16:54:43 +0000 (+0000) Subject: Silence ifconfig down errors in mac80211 (#4067) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=05c0b3f6b96afbf8b61087e1547bf20473243b1b;p=openwrt%2Fsvn-archive%2Farchive.git Silence ifconfig down errors in mac80211 (#4067) SVN-Revision: 12856 --- diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 3f85864ec2..74105c6662 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -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