[B.A.T.M.A.N.] [PATCHv2 maint 0/4] batman-adv: Fix broken capability checks

Linus Lüssing linus.luessing at c0d3.blue
Fri Jul 3 18:29:55 CEST 2015


Hi,

Here are fixes for the bugs introduced by the last fixes to the capability
checks.

Cheers, Linus


PS: For internal things where the bit position isn't important (as in this
case), I think doing a "= BIT(x)" assignments only adds noise. For packet
format things where the bit position is more interesting, it might be good
to keep "= BIT(x)" as it gives O(1) access to the organic reader ;).

~~~~~

Changelog v2:
* Split into 4 individual patches
* Using test_bit() instead of BIT()



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