private bool CheckMsgComplete(HCIStopWait.MsgComp msgComp, byte eventStatus)
{
bool flag = false;
switch (msgComp)
{
case HCIStopWait.MsgComp.AnyStatVal:
flag = true;
break;
case HCIStopWait.MsgComp.AnyStatNotSucc:
if ((int)eventStatus != 0)
{
flag = true;
break;
}
else
break;
}
return flag;
}