Commit 6951974a authored by Grzegorz Daniluk's avatar Grzegorz Daniluk Committed by Alessandro Rubini

spec: correct minic_rx_frame execution

parent c6c09267
......@@ -35,7 +35,7 @@ int spec_recv_packet(struct pp_instance *ppi, void *pkt, int len,
led ^= 1; /* blink one led at each rx event */
gpio_out(GPIO_PIN_LED_LINK, led);
got = minic_rx_frame(pkt, pkt + 14, len - 14, NULL);
got = minic_rx_frame(pkt, pkt+ETH_HEADER_SIZE, len, NULL);
pp_printf("%s: got=%d\n", __FUNCTION__, got);
return got;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment