From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Antonio Quartulli Date: Sun, 22 Sep 2013 20:18:28 +0200 Message-Id: <1379873908-1766-2-git-send-email-antonio@meshcoding.com> In-Reply-To: <1379873908-1766-1-git-send-email-antonio@meshcoding.com> References: <1379873908-1766-1-git-send-email-antonio@meshcoding.com> Subject: [B.A.T.M.A.N.] [PATCH 2/2 next] batman-adv: fix orig capabilities numbering (NetCod) Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: b.a.t.m.a.n@lists.open-mesh.org Cc: Antonio Quartulli Use bit 1 after bit 0. Introduced by 7dd9d8992b0c197ba656a6d9a70966cea10fc2d9 ("batman-adv: tvlv - add network coding container") Signed-off-by: Antonio Quartulli --- 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), }; /** -- 1.8.1.5