commit | 78affe6522738ccda21c3f4e83bcaf08aab18d6e | [log] [tgz] |
---|---|---|
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | Thu Sep 17 22:14:32 2015 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Sep 18 19:53:50 2015 -0700 |
tree | e12fa44935e4247b82b7c5bfa1ab7153c38bbc95 | |
parent | 0a0796eb16f387b01e0da968883ebce7faf17972 [diff] |
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>