NET: slip, fix ldisc->open retval
authorMatvejchikov Ilya <matvejchikov@gmail.com>
Fri, 6 May 2011 06:23:09 +0000 (06:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 May 2011 18:53:07 +0000 (11:53 -0700)
commit057bef938896e6266ae24ec4266d24792d27c29a
tree05632350838694a8a62782e7343bf6c265b91242
parent6709d9521df05c105343473ab8b147e2ef1e13d8
NET: slip, fix ldisc->open retval

TTY layer expects 0 if the ldisc->open operation succeeded.

Signed-off-by : Matvejchikov Ilya <matvejchikov@gmail.com>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/slip.c