]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: slicoss: use status in slic_if_init
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 17 Sep 2015 16:44:33 +0000 (22:14 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Sep 2015 02:53:51 +0000 (19:53 -0700)
commitde4772aef38a4cba6e163913e92b2c874274b863
treefd2430921dc02c29eb57be1f7f2387997cc37979
parent78affe6522738ccda21c3f4e83bcaf08aab18d6e
staging: slicoss: use status in slic_if_init

While initializing the interface if we are not able to setup the command
to UP the link then we release everything and return the error code.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/slicoss/slicoss.c