Beispiel #1
0
struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef)
{
	/*
	 * Handover Select carrier record for WPS uses the same format as
	 * configuration token.
	 */
	return hostapd_wps_nfc_config_token(hapd, ndef);
}
Beispiel #2
0
struct wpabuf * wpas_ap_wps_nfc_config_token(struct wpa_supplicant *wpa_s,
					     int ndef)
{
	struct hostapd_data *hapd;

	if (wpa_s->ap_iface == NULL)
		return NULL;
	hapd = wpa_s->ap_iface->bss[0];
	return hostapd_wps_nfc_config_token(hapd, ndef);
}