]> git.karo-electronics.de Git - linux-beck.git/commit
staging: slicoss: return status of slic_link_event_handler
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 17 Sep 2015 16:44:32 +0000 (22:14 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Sep 2015 02:53:50 +0000 (19:53 -0700)
commit78affe6522738ccda21c3f4e83bcaf08aab18d6e
treee12fa44935e4247b82b7c5bfa1ab7153c38bbc95
parent0a0796eb16f387b01e0da968883ebce7faf17972
staging: slicoss: return status of slic_link_event_handler

slic_link_event_handler() issues command READ_LINK_STATUS to be executed
asynchronously, which is followed by UP configuration write command. But
it can fail while setting up the command and in that case the link will
not be up. Lets check the status and return it.

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