commit | fe2f17eb3da38ac0d5a00c511255bf3a33d16d24 | [log] [tgz] |
---|---|---|
author | Alexander Usyskin <alexander.usyskin@intel.com> | Thu Jul 17 10:53:38 2014 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jul 17 18:38:37 2014 -0700 |
tree | bcc4660cd2e1cadb29fd68415be5fe33ac4a4666 | |
parent | d5d83f8abea13d0b50ee762276c6c900d1946264 [diff] |
mei: fix return value on disconnect timeout wait_event_timeout can return 0 or the remaining jiffies so return -ETIME if disconnected state not reached. Cc: stable@vger.kernel.org # 3.10+ Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>