[maint,1/5] batman-adv: Add BATADV_DBG_TP_METER to BATADV_DBG_ALL

Message ID 1468697424-10701-1-git-send-email-sven@narfation.org (mailing list archive)
State Accepted, archived
Commit fcf6a3a20f1ca1ecf248ae576d0bd425e1fc96d6
Delegated to: Sven Eckelmann
Headers

Commit Message

Sven Eckelmann July 16, 2016, 7:30 p.m. UTC
  The BATADV_DBG_ALL has to contain the bit of BATADV_DBG_TP_METER to really
support all available debug messages.

Fixes: 98d7a766b645 ("batman-adv: throughput meter implementation")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
 net/batman-adv/log.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Sven Eckelmann Oct. 18, 2016, 11:26 a.m. UTC | #1
On Samstag, 16. Juli 2016 21:30:20 CEST Sven Eckelmann wrote:
> The BATADV_DBG_ALL has to contain the bit of BATADV_DBG_TP_METER to really
> support all available debug messages.
> 
> Fixes: 98d7a766b645 ("batman-adv: throughput meter implementation")
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
>  net/batman-adv/log.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied in fcf6a3a20f1ca1ecf248ae576d0bd425e1fc96d6 [1].

Kind regards,
	Sven

[1] https://git.open-mesh.org/batman-adv.git/commit/fcf6a3a20f1ca1ecf248ae576d0bd425e1fc96d6
  

Patch

diff --git a/net/batman-adv/log.h b/net/batman-adv/log.h
index e0e1a88..d2905a8 100644
--- a/net/batman-adv/log.h
+++ b/net/batman-adv/log.h
@@ -63,7 +63,7 @@  enum batadv_dbg_level {
 	BATADV_DBG_NC		= BIT(5),
 	BATADV_DBG_MCAST	= BIT(6),
 	BATADV_DBG_TP_METER	= BIT(7),
-	BATADV_DBG_ALL		= 127,
+	BATADV_DBG_ALL		= 255,
 };
 
 #ifdef CONFIG_BATMAN_ADV_DEBUG