On 06-08-14 04:51 Patrick Simmons wrote:

> I've made quite a bit of progress debugging and have narrowed down the 
> (current) problem to a single statement:
> set_bit(ZD1211_RUNNING, &macp->flags);
> My initial attempt at solving this problem was to change this line to 
> the following:
> set_bit(ZD1211_RUNNING, get_unaligned(&(macp->flags)));

You have to replace set_bit because you will need to get and set
the same variable.

Something like

put_unaligned(get_unaligned(&macp->flags) || (1 << ZD1211_RUNNING),

should do!

Uli Kunitz

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to