mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +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 ***/
|
//Send data over RF or to local stack
|
||||||
if(BUF->type == htons(UIP_ETHTYPE_IPV6)) {
|
uip_len = PBUF->DataLength; //uip_len includes LLH_LEN
|
||||||
|
mac_ethernetToLowpan(uip_buf);
|
||||||
//Send data over RF or to local stack
|
|
||||||
uip_len = PBUF->DataLength; //uip_len includes LLH_LEN
|
|
||||||
mac_ethernetToLowpan(uip_buf);
|
|
||||||
}
|
|
||||||
|
|
||||||
} //if (PBUF->DataLength)
|
} //if (PBUF->DataLength)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user