[commits] [batman-adv] next: batman-adv: fix orig capabilities numbering (NetCod) (4e458f4)

postmaster at open-mesh.org postmaster at open-mesh.org
Tue Sep 24 14:29:37 CEST 2013


Repository : ssh://git@open-mesh.org/batman-adv

On branch  : next

>---------------------------------------------------------------

commit 4e458f43e4941dbe8a0b52e6d0fb36bc4423a9b8
Author: Antonio Quartulli <antonio at meshcoding.com>
Date:   Sun Sep 22 20:18:28 2013 +0200

    batman-adv: fix orig capabilities numbering (NetCod)
    
    Use bit 1 after bit 0.
    
    Introduced by 7dd9d8992b0c197ba656a6d9a70966cea10fc2d9
    ("batman-adv: tvlv - add network coding container")
    
    Signed-off-by: Antonio Quartulli <antonio at meshcoding.com>
    Signed-off-by: Marek Lindner <mareklindner at neomailbox.ch>


>---------------------------------------------------------------

4e458f43e4941dbe8a0b52e6d0fb36bc4423a9b8
 types.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/types.h b/types.h
index 8465a55..04b6b0b 100644
--- a/types.h
+++ b/types.h
@@ -247,7 +247,7 @@ struct batadv_orig_node {
  */
 enum batadv_orig_capabilities {
 	BATADV_ORIG_CAPA_HAS_DAT = BIT(0),
-	BATADV_ORIG_CAPA_HAS_NC = BIT(2),
+	BATADV_ORIG_CAPA_HAS_NC = BIT(1),
 };
 
 /**



More information about the commits mailing list