[PATCH] Keep a shadow copy of HFA384X_INTEN_OFF

Jouni Malinen jkmaline at cc.hut.fi
Mon May 19 09:33:28 EDT 2003

On Mon, May 19, 2003 at 10:17:38AM +0300, Denis Vlasenko wrote:

> This patch against today's CVS keeps a shadow copy
> of last value written to HFA384X_INTEN register,
> replacing expensive INWs with main memory fetches.
> Compile tested.

Did you solve the race condition that I fixed by more or less the exact
reverse of this patch? local->event_mask used to be a shadow copy of
IntEn, but it had a race condition and would have needed heave locking
to fix it.. Removing the shadow copy was the easiest way of getting rid
of that issue.

Jouni Malinen                                            PGP id EFC895FA

More information about the HostAP mailing list