luci-mod-network: Update wireless.js to clarify Distance Optimization

Fixes #2784

Right now, it is not clear that users in indoor settings should stay clear off this setting and people struggle with it as evidenced in the linked issue.

Signed-off-by: Tomáš Hnyk <tomashnyk@gmail.com>
This commit is contained in:
Tomáš Hnyk 2023-12-04 12:02:03 +01:00 committed by GitHub
parent d179d789e5
commit d9a83dfa56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -950,7 +950,7 @@ return view.extend({
o.value('2', _('High')); o.value('2', _('High'));
o.value('3', _('Very High')); o.value('3', _('Very High'));
o = ss.taboption('advanced', form.Value, 'distance', _('Distance Optimization'), _('Distance to farthest network member in meters.')); o = ss.taboption('advanced', form.Value, 'distance', _('Distance Optimization'), _('Distance to farthest network member in meters. Set only for distances above one kilometer; otherwise it is harmful.'));
o.datatype = 'or(range(0,114750),"auto")'; o.datatype = 'or(range(0,114750),"auto")';
o.placeholder = 'auto'; o.placeholder = 'auto';