Network: Misc fixes for clean complete with both Ethernet and SLIP enabled

This commit is contained in:
Gregory Nutt
2014-11-15 08:55:50 -06:00
parent 3ffbfc6bbd
commit 2b758537ea
5 changed files with 40 additions and 42 deletions
+4 -2
View File
@@ -961,7 +961,8 @@ int slip_initialize(int intf, FAR const char *devname)
argv[1] = NULL;
priv->rxpid = task_create("rxslip", CONFIG_SLIP_DEFPRIO,
CONFIG_SLIP_STACKSIZE, (main_t)slip_rxtask, argv);
CONFIG_SLIP_STACKSIZE, (main_t)slip_rxtask,
(FAR char * const *)argv);
if (priv->rxpid < 0)
{
ndbg("ERROR: Failed to start receiver task\n");
@@ -975,7 +976,8 @@ int slip_initialize(int intf, FAR const char *devname)
/* Start the SLIP transmitter task */
priv->txpid = task_create("txslip", CONFIG_SLIP_DEFPRIO,
CONFIG_SLIP_STACKSIZE, (main_t)slip_txtask, argv);
CONFIG_SLIP_STACKSIZE, (main_t)slip_txtask,
(FAR char * const *)argv);
if (priv->txpid < 0)
{
ndbg("ERROR: Failed to start receiver task\n");