mac80211: ignore errors in the command to set the rx/tx antenna - many drivers do...
[openwrt.git] / package / mac80211 / files / lib / wifi / mac80211.sh
index 13d6584..ac1562f 100644 (file)
@@ -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%%.*}"