hostap: Add needed include files to fix compilation
The "enum wpa_msg_type" was not found by default so add needed
include files to get the definitions.
modules/hostap/src/supp_main.h:61:57: warning: ‘enum wpa_msg_type’
declared inside parameter list will not be visible outside of
this definition or declaration
61 | void wpa_supplicant_msg_send(void *ctx, int level,
enum wpa_msg_type type,
const char *txt,
Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This commit is contained in:
parent
6ac4e9c3b7
commit
c9b8365f6d
1 changed files with 5 additions and 0 deletions
|
|
@ -52,12 +52,17 @@ static inline void net_dhcpv4_stop(struct net_if *iface)
|
|||
|
||||
struct wpa_global *zephyr_get_default_supplicant_context(void);
|
||||
struct wpa_supplicant *zephyr_get_handle_by_ifname(const char *ifname);
|
||||
|
||||
#ifdef CONFIG_WIFI_NM_HOSTAPD_AP
|
||||
#include "common.h"
|
||||
#include "wpa_debug_zephyr.h"
|
||||
|
||||
struct hostapd_iface *zephyr_get_hapd_handle_by_ifname(const char *ifname);
|
||||
void wpa_supplicant_msg_send(void *ctx, int level, enum wpa_msg_type type, const char *txt,
|
||||
size_t len);
|
||||
void hostapd_msg_send(void *ctx, int level, enum wpa_msg_type type, const char *buf, size_t len);
|
||||
#endif
|
||||
|
||||
struct wpa_supplicant_event_msg {
|
||||
#ifdef CONFIG_WIFI_NM_HOSTAPD_AP
|
||||
int hostapd;
|
||||
|
|
|
|||
Loading…
Reference in a new issue