mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-23 20:11:49 +00:00
fix typorenthesis
This commit is contained in:
1 parent
5df2445bc9
commit
de7cd48a79
1 file changed
+1
-1
+1
-1
@@ -249,7 +249,7 @@ static struct mg_tcpip_if *s_ifp;
|
|||||||
static void deliver_packet_above(struct pb *buf, int ifc) {
|
static void deliver_packet_above(struct pb *buf, int ifc) {
|
||||||
struct eth_hdr *ethhdr = (struct eth_hdr *) buf->data;
|
struct eth_hdr *ethhdr = (struct eth_hdr *) buf->data;
|
||||||
w_pkt_d("Data RX: Driver=>Kernel, if %d, len %d", ifc, buf->len);
|
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 CONFIG_WPS2
|
||||||
if (wps_rx_callback != NULL) wps_rx_callback(buf->data, buf->len);
|
if (wps_rx_callback != NULL) wps_rx_callback(buf->data, buf->len);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in new issue
Block a user