mirror of https://github.com/aredn/aredn.git
Improve meshref conflict check which could be triggered even when no wifi is enabled (#599)
This commit is contained in:
parent
47d8a5bb29
commit
9293de42a7
|
@ -673,7 +673,7 @@ if parms.button_save then
|
||||||
if phycount > 1 and wifi_enable == "1" and wifi2_channel < 36 and wifi2_enable == "1" then
|
if phycount > 1 and wifi_enable == "1" and wifi2_channel < 36 and wifi2_enable == "1" then
|
||||||
err("Mesh RF and LAN Access Point can not both use the same wireless card, review LAN AP settings")
|
err("Mesh RF and LAN Access Point can not both use the same wireless card, review LAN AP settings")
|
||||||
end
|
end
|
||||||
if phycount > 1 and wifi_enable == "0" and wifi2_hwmode == wifi3_hwmode then
|
if phycount > 1 and wifi_enable == "0" and wifi2_enable == "1" and wifi3_enable == "1" and wifi2_hwmode == wifi3_hwmode then
|
||||||
err("Some settings auto updated to avoid conflicts, please review and save one more time")
|
err("Some settings auto updated to avoid conflicts, please review and save one more time")
|
||||||
end
|
end
|
||||||
if wifi_enable == "1" and wifi2_enable == "1" and wifi3_enable == "1" then
|
if wifi_enable == "1" and wifi2_enable == "1" and wifi3_enable == "1" then
|
||||||
|
|
Loading…
Reference in New Issue