From 699c972015b355df473b9e8039a30bfd70759ace Mon Sep 17 00:00:00 2001 From: c_oflynn Date: Fri, 7 Nov 2008 20:32:46 +0000 Subject: [PATCH] Fixed bug that non-IPv6 would hang Jackdaw --- cpu/avr/dev/usb/rndis/rndis_task.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/cpu/avr/dev/usb/rndis/rndis_task.c b/cpu/avr/dev/usb/rndis/rndis_task.c index caf5c0ac..b07dc87d 100644 --- a/cpu/avr/dev/usb/rndis/rndis_task.c +++ b/cpu/avr/dev/usb/rndis/rndis_task.c @@ -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) -- 2.11.4.GIT