From: Natalia Ovsyanikov Date: Sun, 4 Dec 2011 22:16:54 +0000 (+0200) Subject: staging/mei: fix failure for multiple mei clients connection X-Git-Tag: v3.3-rc1~152^2~101^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8cd29d8e26b9f7526297cdfb031ce757502a3b4;p=pandora-kernel.git staging/mei: fix failure for multiple mei clients connection The irq handler processes queued mei clients connect requests, which were not transferred to the device in ioctl context due to unavailability of the write buffer. The handler may transfer the connection request only if there is no other ongoing requests for the same mei id. This condition was implemented inversely which depending on the write buffer availability lead to seemingly random failures during connection attempts. Cc: Oren Weil Signed-off-by: Natalia Ovsyanikov Signed-off-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed