<div dir="ltr"><div>Hello,</div><div><br></div><div>I read this point in staging/wfx/TODO file </div><div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">- In wfx_cmd_send(), "async" allow to send command without waiting the reply.<br> It may help in some situation, but it is not yet used. In add, it may cause<br> some trouble:<br> <a href="https://lore.kernel.org/driverdev-devel/alpine.DEB.2.21.1910041317381.2992@hadrien/" target="_blank">https://lore.kernel.org/driverdev-devel/alpine.DEB.2.21.1910041317381.2992@hadrien/</a><br> So, fix it (by replacing the mutex with a semaphore) or drop it.<br></blockquote></div><div><br></div><div>I think that this issue has already been fixed in <b>hif_shutdown</b>() function, hasn't it ?</div><div>I have another question. How can (replacing the mutex with a semaphore) solve the problem?<br></div><div><br></div><div>Thank You.</div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div> <br>Mohamed Dawod<br></div><div>
Computer Engineer<br><br></div></div></div></div></div></div></div></div>