[B.A.T.M.A.N.] [PATCH 03/10] batman-adv: Make DAT capability changes atomic

Antonio Quartulli antonio at meshcoding.com
Fri Aug 14 22:49:03 CEST 2015

On 11/08/15 21:36, Sergei Shtylyov wrote:
>>       /* check if orig node candidate is running DAT */
>> -    if (!(candidate->capabilities & BATADV_ORIG_CAPA_HAS_DAT))
>> +    if (!(test_bit(BATADV_ORIG_CAPA_HAS_DAT, &candidate->capabilities)))
>    () around the tst_bit() call not needed.

Thanks for the hint Sergei. Even if I don't remember having seen any
complaint from checkpatch.pl about this.

I'll resend the pull request with this fixed patches.


Antonio Quartulli

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.open-mesh.org/pipermail/b.a.t.m.a.n/attachments/20150814/f40ddf3a/attachment.sig>

More information about the B.A.T.M.A.N mailing list