staging: slicoss: use status in slic_ioctl
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 17 Sep 2015 16:44:34 +0000 (22:14 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Sep 2015 02:53:51 +0000 (19:53 -0700)
commit4b8645d64375a82971cebb312a6f665dc586686f
tree9860e051c0b3363934e6f0546e1c108e694c2327
parentde4772aef38a4cba6e163913e92b2c874274b863
staging: slicoss: use status in slic_ioctl

In the ioctl function if we are not able to UP the link after setting
the new parameters then return an error code to the userspace.

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