diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-01-28 12:01:54 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-01-28 12:01:54 +0000 |
commit | 718645d5818011ac194d9ece6e4ae381f42564f9 (patch) | |
tree | d3fa7d97699e7de96d6030a804a31d8b7a7918f3 /package/mac80211/files | |
parent | 2e6f6843a630685fb6cd8ee57eb00be13bd84102 (diff) | |
download | upstream-718645d5818011ac194d9ece6e4ae381f42564f9.tar.gz upstream-718645d5818011ac194d9ece6e4ae381f42564f9.tar.bz2 upstream-718645d5818011ac194d9ece6e4ae381f42564f9.zip |
mac80211: ignore errors in the command to set the rx/tx antenna - many drivers do not support this yet
SVN-Revision: 25192
Diffstat (limited to 'package/mac80211/files')
-rw-r--r-- | package/mac80211/files/lib/wifi/mac80211.sh | 2 |
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%%.*}" |