mirror of https://github.com/aredn/aredn.git
Fix typo when checking for multiple antennas
This check can fail if the rssi manager is started early but the daemon will be restarted.
This commit is contained in:
parent
149b698d31
commit
2d3e9a86b3
|
@ -57,7 +57,7 @@ end
|
||||||
local wifiiface = get_ifname("wifi")
|
local wifiiface = get_ifname("wifi")
|
||||||
|
|
||||||
local multiple_ant = false
|
local multiple_ant = false
|
||||||
if read_all("sys/kernel/debug/ieee80211/" .. iwinfo.nl80211.phyname(wifiiface) .. "/ath9k/tx_chainmask"):chomp() ~= "1" then
|
if read_all("/sys/kernel/debug/ieee80211/" .. iwinfo.nl80211.phyname(wifiiface) .. "/ath9k/tx_chainmask"):chomp() ~= "1" then
|
||||||
multiple_ant = true
|
multiple_ant = true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue