diff options
author | Eyal Shapira <eyal@wizery.com> | 2012-07-21 00:48:19 +0300 |
---|---|---|
committer | Arik Nemtsov <arik@wizery.com> | 2012-08-02 13:04:01 +0300 |
commit | f7a1a0e0c350b461d222a2416934e3ce55d9b306 (patch) | |
tree | 32fcce9efee1b8d6dcc15565a405f26793e70373 /src | |
parent | 7d265efb895e1ca8eefe3fb4c60d702c0bea26df (diff) | |
download | external_wpa_supplicant_8_ti-f7a1a0e0c350b461d222a2416934e3ce55d9b306.zip external_wpa_supplicant_8_ti-f7a1a0e0c350b461d222a2416934e3ce55d9b306.tar.gz external_wpa_supplicant_8_ti-f7a1a0e0c350b461d222a2416934e3ce55d9b306.tar.bz2 |
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 <eyal@wizery.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/ap/ap_config.c | 3 | ||||
-rw-r--r-- | src/ap/ap_config.h | 3 |
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; |