mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 14:59:45 +01:00
wifi-scripts: ucode: fix issues in mesh setup without supplicant
- Add missing frequency - Call the correct function for htmode Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
fb366956c8
commit
94fb40941b
1 changed files with 2 additions and 1 deletions
|
|
@ -270,7 +270,8 @@ function setup() {
|
|||
if (!v.config.default_macaddr)
|
||||
config.macaddr = v.config.macaddr;
|
||||
|
||||
config_add(config, "htmode", wdev_htmode(data.config));
|
||||
config_add(config, "freq", data.config.frequency);
|
||||
config_add(config, "htmode", iw_htmode(data.config));
|
||||
if (mode != "monitor") {
|
||||
config_add(config, "basic-rates", supplicant.ratelist(data.config.basic_rate));
|
||||
config_add(config, "mcast-rate", supplicant.ratestr(v.config.mcast_rate));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue