aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ap/ap_config.c3
-rw-r--r--src/ap/ap_config.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ap/ap_config.c b/src/ap/ap_config.c
index ec9e17d..b9e1c5f 100644
--- a/src/ap/ap_config.c
+++ b/src/ap/ap_config.c
@@ -474,6 +474,9 @@ static void hostapd_config_free_bss(struct hostapd_bss_config *conf)
}
#endif /* CONFIG_IEEE80211R */
+#ifdef ANDROID_P2P
+ os_free(conf->prioritize);
+#endif
#ifdef CONFIG_WPS
os_free(conf->wps_pin_requests);
os_free(conf->device_name);
diff --git a/src/ap/ap_config.h b/src/ap/ap_config.h
index a203599..4e10a0f 100644
--- a/src/ap/ap_config.h
+++ b/src/ap/ap_config.h
@@ -315,6 +315,9 @@ struct hostapd_bss_config {
u8 uuid[16];
char *wps_pin_requests;
char *device_name;
+#ifdef ANDROID_P2P
+ char *prioritize;
+#endif
char *manufacturer;
char *model_name;
char *model_number;