summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-10-04 16:54:43 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-10-04 16:54:43 +0000
commit1700a7c37999546b2133da2d9c69e2d153fdd6fd (patch)
tree9526a4b285b14f700b6c528081e070a470a5f89a
parent4a2e30239c0f67787cccedb26b06cae8c5d640a5 (diff)
Silence ifconfig down errors in mac80211 (#4067)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12856 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh
index 3f85864ec..74105c666 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