aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-10-04 16:54:43 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-10-04 16:54:43 +0000
commit480affb551819b38a900aa822b6b0a6c771e5dc8 (patch)
tree9526a4b285b14f700b6c528081e070a470a5f89a /package/mac80211
parentcb2ed6c07ba2dd02e85389094eed7c90d9c67bfb (diff)
downloadupstream-480affb551819b38a900aa822b6b0a6c771e5dc8.tar.gz
upstream-480affb551819b38a900aa822b6b0a6c771e5dc8.tar.bz2
upstream-480affb551819b38a900aa822b6b0a6c771e5dc8.zip
Silence ifconfig down errors in mac80211 (#4067)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12856 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211')
-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 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