update network.c for SAM9X25 bsp.