mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-18 04:56:57 +00:00
mac80211: ignore errors in the command to set the rx/tx antenna - many drivers do not support this yet
SVN-Revision: 25192
This commit is contained in:
parent
2e6f6843a6
commit
718645d581
@ -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%%.*}"
|
||||||
|
Loading…
Reference in New Issue
Block a user