Fixed bug that non-IPv6 would hang Jackdaw
This commit is contained in:
parent
29d164db3f
commit
e1463c25a0
1 changed files with 3 additions and 7 deletions
|
@ -319,13 +319,9 @@ PROCESS_THREAD(rndis_process, ev, data_proc)
|
|||
//Ack final data packet
|
||||
Usb_ack_receive_out();
|
||||
|
||||
/*** SEND DATA TO UIP ***/
|
||||
if(BUF->type == htons(UIP_ETHTYPE_IPV6)) {
|
||||
|
||||
//Send data over RF or to local stack
|
||||
uip_len = PBUF->DataLength; //uip_len includes LLH_LEN
|
||||
mac_ethernetToLowpan(uip_buf);
|
||||
}
|
||||
|
||||
} //if (PBUF->DataLength)
|
||||
|
||||
|
|
Loading…
Reference in a new issue