mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
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
This commit is contained in:
@@ -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%%.*}"
|
||||||
|
|||||||
Reference in New Issue
Block a user