Merge pull request #884 from masaohamanaka/master

RZ_A1H - Fix a bug that Ether Driver there is a case where the transmission
pull/885/head
Martin Kojtal 2015-02-05 13:40:43 +00:00
commit 3365a1117d
1 changed files with 1 additions and 2 deletions

View File

@ -63,7 +63,7 @@ static void rza1_phy_task(void *arg) {
struct netif *netif = (struct netif*)arg;
s32_t connect_sts = 0; /* 0: disconnect, 1:connect */
s32_t link_sts;
s32_t link_mode_new;
s32_t link_mode_new = NEGO_FAIL;
s32_t link_mode_old = NEGO_FAIL;
while (1) {
@ -125,7 +125,6 @@ static err_t rza1_low_level_output(struct netif *netif, struct pbuf *p) {
}
}
}
pbuf_free(p);
return err;
}