aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-01-28 12:01:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-01-28 12:01:54 +0000
commitbbcfba7a14c46707436bf6b94fca9ea02d8d21a2 (patch)
tree84d8e3feebcc75197e2d2351a6e041e2bc7829af /package/mac80211/files
parent788b1585d7ad1489dd857acbfecb8b3f792f1a3d (diff)
downloadmaster-187ad058-bbcfba7a14c46707436bf6b94fca9ea02d8d21a2.tar.gz
master-187ad058-bbcfba7a14c46707436bf6b94fca9ea02d8d21a2.tar.bz2
master-187ad058-bbcfba7a14c46707436bf6b94fca9ea02d8d21a2.zip
mac80211: ignore errors in the command to set the rx/tx antenna - many drivers do not support this yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25192 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 13d6584b09..ac1562fb24 100644
--- a/package/mac80211/files/lib/wifi/mac80211.sh
+++ b/package/mac80211/files/lib/wifi/mac80211.sh
@@ -256,7 +256,7 @@ enable_mac80211() {
fixed=1
}
- iw phy "$phy" set antenna $txantenna $rxantenna
+ iw phy "$phy" set antenna $txantenna $rxantenna >/dev/null 2>&1
[ -n "$distance" ] && iw phy "$phy" set distance "$distance"
[ -n "$frag" ] && iw phy "$phy" set frag "${frag%%.*}"