projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0634065
)
hostapd: fix processing mbssid config option
author
Felix Fietkau
<nbd@nbd.name>
Mon, 9 Dec 2024 18:19:46 +0000
(19:19 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Wed, 15 Jan 2025 16:19:24 +0000
(17:19 +0100)
Do not strip the first character from the field name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit
59dd9cddf9e72d1f9b4ff7e01ae32d2fa99259d9
)
package/network/services/hostapd/files/hostapd.uc
patch
|
blob
|
history
diff --git
a/package/network/services/hostapd/files/hostapd.uc
b/package/network/services/hostapd/files/hostapd.uc
index ee2411205984adc83794e109e61cc9e9b1edff9c..771108ace8ca4e618c2d570f18dbfea861178edd 100644
(file)
--- a/
package/network/services/hostapd/files/hostapd.uc
+++ b/
package/network/services/hostapd/files/hostapd.uc
@@
-747,9
+747,10
@@
function iface_load_config(phy, radio, filename)
continue;
}
- if (val[0] == "#num_global_macaddr" ||
- val[0] == "mbssid")
+ if (val[0] == "#num_global_macaddr")
config[substr(val[0], 1)] = int(val[1]);
+ else if (val[0] == "mbssid")
+ config[val[0]] = int(val[1]);
push(config.radio.data, line);
}