Re: Re: [PATCH] rtlwifi: rtl8192x: Enabling and disabling hardware interrupts after enabling local irq flags

From: Lino Sanfilippo
Date: Fri Jan 20 2017 - 06:24:25 EST


Hi,

>
>
> This patch should be enhanced with the smb_xx() calls as suggested by by Lino.
>

If you do this, please place the smp_rmb() before the if condition in the irq
handler like

smp_rmb();
if (rtlpci->irq_enabled == 0) {
return ret;


as I think that the suggestion I made before was not correct (sorry for the
confusion).

Regards,
Lino