lab practicals
Diff: arch/TARGET_RZ_A1H/rza1_emac.c
- Revision:
- 23:1283021a4a74
- Parent:
- 22:fa7e1e2c6eb3
- Child:
- 28:72f8b097fbf3
--- a/arch/TARGET_RZ_A1H/rza1_emac.c Thu Nov 06 11:00:57 2014 +0000 +++ b/arch/TARGET_RZ_A1H/rza1_emac.c Thu Feb 05 13:45:38 2015 +0000 @@ -63,7 +63,7 @@ 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 @@ } } } - pbuf_free(p); return err; }