Fixed bug that non-IPv6 would hang Jackdaw

This commit is contained in:
c_oflynn 2008-11-07 20:32:46 +00:00
parent 29d164db3f
commit e1463c25a0
1 changed files with 3 additions and 7 deletions

View File

@ -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);
}
//Send data over RF or to local stack
uip_len = PBUF->DataLength; //uip_len includes LLH_LEN
mac_ethernetToLowpan(uip_buf);
} //if (PBUF->DataLength)