mirror of
https://github.com/cesanta/mongoose
synced 2026-08-25 22:26:06 -04:00
fix typorenthesis
This commit is contained in:
parent
5df2445bc9
commit
de7cd48a79
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue