Browse Source

mac80211: ignore errors in the command to set the rx/tx antenna - many drivers do not support this yet

SVN-Revision: 25192
Felix Fietkau 15 years ago
parent
commit
718645d581
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/mac80211/files/lib/wifi/mac80211.sh

+ 1 - 1
package/mac80211/files/lib/wifi/mac80211.sh

@@ -256,7 +256,7 @@ enable_mac80211() {
 		fixed=1
 		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 "$distance" ] && iw phy "$phy" set distance "$distance"
 	[ -n "$frag" ] && iw phy "$phy" set frag "${frag%%.*}"
 	[ -n "$frag" ] && iw phy "$phy" set frag "${frag%%.*}"