mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
Fixed bug that non-IPv6 would hang Jackdaw
This commit is contained in:
parent
29d164db3f
commit
e1463c25a0
@ -319,13 +319,9 @@ PROCESS_THREAD(rndis_process, ev, data_proc)
|
|||||||
//Ack final data packet
|
//Ack final data packet
|
||||||
Usb_ack_receive_out();
|
Usb_ack_receive_out();
|
||||||
|
|
||||||
/*** SEND DATA TO UIP ***/
|
|
||||||
if(BUF->type == htons(UIP_ETHTYPE_IPV6)) {
|
|
||||||
|
|
||||||
//Send data over RF or to local stack
|
//Send data over RF or to local stack
|
||||||
uip_len = PBUF->DataLength; //uip_len includes LLH_LEN
|
uip_len = PBUF->DataLength; //uip_len includes LLH_LEN
|
||||||
mac_ethernetToLowpan(uip_buf);
|
mac_ethernetToLowpan(uip_buf);
|
||||||
}
|
|
||||||
|
|
||||||
} //if (PBUF->DataLength)
|
} //if (PBUF->DataLength)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user