From 3344f8e40c4ab416fc3bee4a8f6221cbd87a5da2 Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 28 Jan 2011 12:01:54 +0000 Subject: 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 --- package/mac80211/files/lib/wifi/mac80211.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/mac80211') diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 13d6584b0..ac1562fb2 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%%.*}" -- cgit v1.2.3