mirror of https://github.com/hak5/openwrt.git
mac80211: fix order of iw parameters, fix broken antenna config call
SVN-Revision: 25152lede-17.01
parent
50be0201f1
commit
a580764a9f
|
@ -256,7 +256,7 @@ enable_mac80211() {
|
||||||
fixed=1
|
fixed=1
|
||||||
}
|
}
|
||||||
|
|
||||||
iw phy "$phy" set antenna "$txantenna $rxantenna"
|
iw phy "$phy" set antenna $txantenna $rxantenna
|
||||||
|
|
||||||
[ -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%%.*}"
|
||||||
|
@ -425,9 +425,9 @@ enable_mac80211() {
|
||||||
|
|
||||||
iw dev "$ifname" ibss join "$ssid" $freq \
|
iw dev "$ifname" ibss join "$ssid" $freq \
|
||||||
${fixed:+fixed-freq} $bssid \
|
${fixed:+fixed-freq} $bssid \
|
||||||
${mcval:+mcast-rate $mcval} \
|
|
||||||
${bintval:+beacon-interval $bintval} \
|
${bintval:+beacon-interval $bintval} \
|
||||||
${basicrates:+basic-rates $basicrates} \
|
${basicrates:+basic-rates $basicrates} \
|
||||||
|
${mcval:+mcast-rate $mcval} \
|
||||||
${keyspec:+keys $keyspec}
|
${keyspec:+keys $keyspec}
|
||||||
;;
|
;;
|
||||||
sta)
|
sta)
|
||||||
|
|
Loading…
Reference in New Issue