mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
38 lines
1.6 KiB
Diff
38 lines
1.6 KiB
Diff
Index: hostapd-2023-09-08-e5ccbfc6/hostapd/config_file.c
|
|
===================================================================
|
|
--- hostapd-2023-09-08-e5ccbfc6.orig/hostapd/config_file.c
|
|
+++ hostapd-2023-09-08-e5ccbfc6/hostapd/config_file.c
|
|
@@ -2345,6 +2345,8 @@ static int hostapd_config_fill(struct ho
|
|
return 1;
|
|
}
|
|
conf->driver = driver;
|
|
+ } else if (os_strcmp(buf, "uci_section") == 0) {
|
|
+ bss->uci_section = os_strdup(pos);
|
|
} else if (os_strcmp(buf, "driver_params") == 0) {
|
|
os_free(conf->driver_params);
|
|
conf->driver_params = os_strdup(pos);
|
|
Index: hostapd-2023-09-08-e5ccbfc6/src/ap/ap_config.h
|
|
===================================================================
|
|
--- hostapd-2023-09-08-e5ccbfc6.orig/src/ap/ap_config.h
|
|
+++ hostapd-2023-09-08-e5ccbfc6/src/ap/ap_config.h
|
|
@@ -287,6 +287,7 @@ struct hostapd_bss_config {
|
|
char snoop_iface[IFNAMSIZ + 1];
|
|
char vlan_bridge[IFNAMSIZ + 1];
|
|
char wds_bridge[IFNAMSIZ + 1];
|
|
+ char *uci_section;
|
|
int bridge_hairpin; /* hairpin_mode on bridge members */
|
|
|
|
enum hostapd_logger_level logger_syslog_level, logger_stdout_level;
|
|
Index: hostapd-2023-09-08-e5ccbfc6/src/ap/ap_config.c
|
|
===================================================================
|
|
--- hostapd-2023-09-08-e5ccbfc6.orig/src/ap/ap_config.c
|
|
+++ hostapd-2023-09-08-e5ccbfc6/src/ap/ap_config.c
|
|
@@ -798,6 +798,7 @@ void hostapd_config_free_bss(struct host
|
|
os_free(conf->radius_req_attr_sqlite);
|
|
os_free(conf->rsn_preauth_interfaces);
|
|
os_free(conf->ctrl_interface);
|
|
+ os_free(conf->uci_section);
|
|
os_free(conf->config_id);
|
|
os_free(conf->ca_cert);
|
|
os_free(conf->server_cert);
|