From f7a1a0e0c350b461d222a2416934e3ce55d9b306 Mon Sep 17 00:00:00 2001 From: Eyal Shapira Date: Sat, 21 Jul 2012 00:48:19 +0300 Subject: Prep work to configure a prioritized interface (BRCM) Add a new configurable property which points to the interface name that should prioritized in case of resolving connection conflicts. (This appears to be prep work which doesn't get used however we include it to better align with JB) Signed-off-by: Eyal Shapira --- src/ap/ap_config.c | 3 +++ src/ap/ap_config.h | 3 +++ 2 files changed, 6 insertions(+) (limited to 'src') 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; -- cgit v1.1