]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/net/netconsole.c
net: Make sure NetLoop is initialized when using NetConsole
[karo-tx-uboot.git] / drivers / net / netconsole.c
index 744f4d15ec226c7b7b605cc8c011157a71f2f46a..19e563ea820a25eb1193c91b8f5a3b95bf581619 100644 (file)
@@ -169,6 +169,12 @@ static int nc_start(void)
        else
                memset(nc_ether, 0, sizeof(nc_ether));  /* force arp request */
 
+       /*
+        * Initialize the static IP settings and buffer pointers
+        * incase we call NetSendUDPPacket before NetLoop
+        */
+       net_init();
+
        return 0;
 }