From: Felix Fietkau Date: Fri, 28 Jan 2011 12:01:54 +0000 (+0000) Subject: mac80211: ignore errors in the command to set the rx/tx antenna - many drivers do... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=718645d5818011ac194d9ece6e4ae381f42564f9;p=openwrt%2Fstaging%2Fwigyori.git mac80211: ignore errors in the command to set the rx/tx antenna - many drivers do not support this yet SVN-Revision: 25192 --- 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%%.*}"