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()