X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/96418c0a98994120844d6e8947ec892113132579..ddc9278d09957a5c6cb27ad0ca696f096476e38a:/package/mac80211/files/lib/wifi/mac80211.sh diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index 7e38cea55..13d6584b0 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -256,7 +256,7 @@ enable_mac80211() { 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 "$frag" ] && iw phy "$phy" set frag "${frag%%.*}" @@ -425,9 +425,9 @@ enable_mac80211() { iw dev "$ifname" ibss join "$ssid" $freq \ ${fixed:+fixed-freq} $bssid \ - ${mcval:+mcast-rate $mcval} \ ${bintval:+beacon-interval $bintval} \ ${basicrates:+basic-rates $basicrates} \ + ${mcval:+mcast-rate $mcval} \ ${keyspec:+keys $keyspec} ;; sta)