Skip to content

Commit

Permalink
MeTee: Linux: pull in libmei 1.5.4
Browse files Browse the repository at this point in the history
Take the latest libmei sources with fix for reconnect in error state..

Signed-off-by: Alexander Usyskin <[email protected]>
  • Loading branch information
ausyskin authored and Tomas Winkler committed Nov 1, 2023
1 parent b495deb commit faacfc2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/linux/mei.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,10 +440,8 @@ static int __int_mei_connect(struct mei *me, uint8_t vtag)
if (!me)
return -EINVAL;

if (me->state != MEI_CL_STATE_INITIALIZED &&
me->state != MEI_CL_STATE_DISCONNECTED &&
me->state != MEI_CL_STATE_NOT_PRESENT) {
mei_err(me, "client state [%d]\n", me->state);
if (me->state == MEI_CL_STATE_CONNECTED) {
mei_err(me, "client is connected [%d]\n", me->state);
return -EINVAL;
}

Expand Down

0 comments on commit faacfc2

Please sign in to comment.