Skip to content

Commit 4c94d43

Browse files
nxf58150mmahadevan108
authored andcommitted
middleware: wifi_nxp: Include new hostap glue layer header file
Include new header file to support hostapd source code split in glue layer. Signed-off-by: Hui Bai <[email protected]>
1 parent 6af2fd7 commit 4c94d43

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

mcux/middleware/wifi_nxp/wifidriver/wpa_supp_if/rtos_wpa_supp_if.c

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
#include "rtos_wpa_supp_if.h"
2020
#include "wifi-internal.h"
2121
#include "supp_main.h"
22+
#if CONFIG_NXP_WIFI_SOFTAP_SUPPORT
23+
#include "hapd_main.h"
24+
#endif
2225

2326
#define MAX_MGMT_TX_FRAME_SIZE 1500
2427

mcux/middleware/wifi_nxp/wlcmgr/wlan.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -6002,7 +6002,7 @@ static enum cm_uap_state uap_state_machine(struct wifi_message *msg)
60026002
break;
60036003
case CM_UAP_USER_REQUEST_STOP:
60046004
#if CONFIG_WIFI_NM_WPA_SUPPLICANT
6005-
supplicant_ap_disable(net_if_get_device((void *)netif));
6005+
net_mgmt(NET_REQUEST_WIFI_AP_DISABLE, (struct net_if *)netif, NULL, 0);
60066006
#else
60076007
if (wlan.uap_state < CM_UAP_CONFIGURED)
60086008
{

0 commit comments

Comments
 (0)