DPP: Make dpp_netrole_str() non-static
This function is going to be needed outside dpp.c. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
34575ad72e
commit
6751fb0604
2 changed files with 2 additions and 3 deletions
|
@ -26,8 +26,6 @@
|
||||||
#include "dpp_i.h"
|
#include "dpp_i.h"
|
||||||
|
|
||||||
|
|
||||||
static const char * dpp_netrole_str(enum dpp_netrole netrole);
|
|
||||||
|
|
||||||
#ifdef CONFIG_TESTING_OPTIONS
|
#ifdef CONFIG_TESTING_OPTIONS
|
||||||
#ifdef CONFIG_DPP3
|
#ifdef CONFIG_DPP3
|
||||||
int dpp_version_override = 3;
|
int dpp_version_override = 3;
|
||||||
|
@ -1401,7 +1399,7 @@ static void dpp_build_legacy_cred_params(struct wpabuf *buf,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static const char * dpp_netrole_str(enum dpp_netrole netrole)
|
const char * dpp_netrole_str(enum dpp_netrole netrole)
|
||||||
{
|
{
|
||||||
switch (netrole) {
|
switch (netrole) {
|
||||||
case DPP_NETROLE_STA:
|
case DPP_NETROLE_STA:
|
||||||
|
|
|
@ -525,6 +525,7 @@ int dpp_parse_uri_mac(struct dpp_bootstrap_info *bi, const char *mac);
|
||||||
int dpp_parse_uri_info(struct dpp_bootstrap_info *bi, const char *info);
|
int dpp_parse_uri_info(struct dpp_bootstrap_info *bi, const char *info);
|
||||||
int dpp_nfc_update_bi(struct dpp_bootstrap_info *own_bi,
|
int dpp_nfc_update_bi(struct dpp_bootstrap_info *own_bi,
|
||||||
struct dpp_bootstrap_info *peer_bi);
|
struct dpp_bootstrap_info *peer_bi);
|
||||||
|
const char * dpp_netrole_str(enum dpp_netrole netrole);
|
||||||
struct dpp_authentication *
|
struct dpp_authentication *
|
||||||
dpp_alloc_auth(struct dpp_global *dpp, void *msg_ctx);
|
dpp_alloc_auth(struct dpp_global *dpp, void *msg_ctx);
|
||||||
struct hostapd_hw_modes;
|
struct hostapd_hw_modes;
|
||||||
|
|
Loading…
Reference in a new issue