aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/files
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
commitc6b1119e6b0f008a0d8fcfa031c5221a17d591e7 (patch)
tree827efd90fbc2f595addf34501dd8cde85f40d6a6 /package/mac80211/files
parent10f4e46cf966a2f1d03ab6c0ae7d103dd656b6b5 (diff)
downloadupstream-c6b1119e6b0f008a0d8fcfa031c5221a17d591e7.tar.gz
upstream-c6b1119e6b0f008a0d8fcfa031c5221a17d591e7.tar.bz2
upstream-c6b1119e6b0f008a0d8fcfa031c5221a17d591e7.zip
Silence ifconfig down errors in mac80211 (#4067)
SVN-Revision: 12856
Diffstat (limited to 'package/mac80211/files')
-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