public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCHv2 maint 0/4] batman-adv: Fix broken capability checks
@ 2015-07-03 16:29 Linus Lüssing
  2015-07-03 16:29 ` [B.A.T.M.A.N.] [PATCHv2 maint 1/4] batman-adv: Fix broken DAT capability check Linus Lüssing
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Linus Lüssing @ 2015-07-03 16:29 UTC (permalink / raw)
  To: b.a.t.m.a.n

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-07-07  8:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-03 16:29 [B.A.T.M.A.N.] [PATCHv2 maint 0/4] batman-adv: Fix broken capability checks Linus Lüssing
2015-07-03 16:29 ` [B.A.T.M.A.N.] [PATCHv2 maint 1/4] batman-adv: Fix broken DAT capability check Linus Lüssing
2015-07-07  8:41   ` Marek Lindner
2015-07-03 16:29 ` [B.A.T.M.A.N.] [PATCHv2 maint 2/4] batman-adv: Fix broken NC " Linus Lüssing
2015-07-07  8:45   ` Marek Lindner
2015-07-03 16:29 ` [B.A.T.M.A.N.] [PATCHv2 maint 3/4] batman-adv: Fix broken TT " Linus Lüssing
2015-07-07  8:46   ` Marek Lindner
2015-07-03 16:29 ` [B.A.T.M.A.N.] [PATCHv2 maint 4/4] batman-adv: Fix broken MCAST " Linus Lüssing
2015-07-07  8:48   ` Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox