From de7cd48a79a8498a2359176760eead0dad3be020 Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Tue, 11 Aug 2026 10:03:03 -0300 Subject: [PATCH] fix typorenthesis --- .../wifi/port/net/netif_mongoose.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/nxp/frdm-rw612-xpresso-freertos-builtin-wifi/wifi/port/net/netif_mongoose.c b/tutorials/nxp/frdm-rw612-xpresso-freertos-builtin-wifi/wifi/port/net/netif_mongoose.c index 3d9da90d..0cf520eb 100644 --- a/tutorials/nxp/frdm-rw612-xpresso-freertos-builtin-wifi/wifi/port/net/netif_mongoose.c +++ b/tutorials/nxp/frdm-rw612-xpresso-freertos-builtin-wifi/wifi/port/net/netif_mongoose.c @@ -249,7 +249,7 @@ static struct mg_tcpip_if *s_ifp; static void deliver_packet_above(struct pb *buf, int ifc) { struct eth_hdr *ethhdr = (struct eth_hdr *) buf->data; w_pkt_d("Data RX: Driver=>Kernel, if %d, len %d", ifc, buf->len); - if (mg_ntohs(ethhdr->type == 0x888E)) { + if (ethhdr->type == mg_htons(0x888E)) { #if CONFIG_WPS2 if (wps_rx_callback != NULL) wps_rx_callback(buf->data, buf->len); #endif