luci-mod-network: wireless.js: expose wifi-iface macaddr option
Fixes: #5845
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit f039069ac5
)
This commit is contained in:
parent
b528725635
commit
42cc1b402a
1 changed files with 5 additions and 0 deletions
|
@ -1156,6 +1156,11 @@ return view.extend({
|
|||
if (/^radio\d+\.network/.test(o.placeholder))
|
||||
o.placeholder = '';
|
||||
|
||||
o = ss.taboption('advanced', form.Value, 'macaddr', _('MAC address'), _('Override default MAC address - the range of usable addresses might limited by the driver'));
|
||||
o.optional = true;
|
||||
o.placeholder = radioNet.getActiveBSSID();
|
||||
o.datatype = 'macaddr';
|
||||
|
||||
o = ss.taboption('advanced', form.Flag, 'short_preamble', _('Short Preamble'));
|
||||
o.default = o.enabled;
|
||||
|
||||
|
|
Loading…
Reference in a new issue