diff options
Diffstat (limited to 'net/batman-adv/bitarray.h')
-rw-r--r-- | net/batman-adv/bitarray.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/net/batman-adv/bitarray.h b/net/batman-adv/bitarray.h index 0508353fa28d..ca9d0753dd6b 100644 --- a/net/batman-adv/bitarray.h +++ b/net/batman-adv/bitarray.h | |||
@@ -47,7 +47,12 @@ static inline bool batadv_test_bit(const unsigned long *seq_bits, | |||
47 | return test_bit(diff, seq_bits) != 0; | 47 | return test_bit(diff, seq_bits) != 0; |
48 | } | 48 | } |
49 | 49 | ||
50 | /* turn corresponding bit on, so we can remember that we got the packet */ | 50 | /** |
51 | * batadv_set_bit() - Turn corresponding bit on, so we can remember that we got | ||
52 | * the packet | ||
53 | * @seq_bits: bitmap of the packet receive window | ||
54 | * @n: relative sequence number of newly received packet | ||
55 | */ | ||
51 | static inline void batadv_set_bit(unsigned long *seq_bits, s32 n) | 56 | static inline void batadv_set_bit(unsigned long *seq_bits, s32 n) |
52 | { | 57 | { |
53 | /* if too old, just drop it */ | 58 | /* if too old, just drop it */ |