From patchwork Mon Feb 14 09:10:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 772 Return-Path: Received: from v3-1039.vlinux.de (narfation.org [79.140.41.39]) by open-mesh.org (Postfix) with ESMTPS id C190415413A for ; Mon, 14 Feb 2011 10:10:30 +0100 (CET) Received: from sven-desktop.home.narfation.org (i59F6B7E7.versanet.de [89.246.183.231]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id 70D1F940B0; Mon, 14 Feb 2011 10:10:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=narfation.org; s=mail; t=1297674621; bh=AHZCVtYlOZuinw2Fx1coTynhbsebIq7tA0r8VZmm2Ho=; h=From:To:Cc:Subject:Date:Message-Id; b=c3HtQqBtco2srQtq86LNEF8JENPNhZkkKAkcrT5Q5GvOpu641jUQm672eC3pzKYFP HFCqzvWdyhtkZ30cJj71u2fYidkgCRfoFS0iLhIwseNV+ogW9F8zZRJEZ2cHKFeNdX LtqBySMqTdZcr6nA2lZJMjPdbGVCNoFuFy95KLEc= From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Mon, 14 Feb 2011 10:10:23 +0100 Message-Id: <1297674623-3130-1-git-send-email-sven@narfation.org> X-Mailer: git-send-email 1.7.2.3 Subject: [B.A.T.M.A.N.] [PATCH] batman-adv: else should follow close brace '}' X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.13 Precedence: list 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: , X-List-Received-Date: Mon, 14 Feb 2011 09:10:30 -0000 Signed-off-by: Sven Eckelmann --- batman-adv/gateway_client.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/batman-adv/gateway_client.c b/batman-adv/gateway_client.c index 3486854..41eba8a 100644 --- a/batman-adv/gateway_client.c +++ b/batman-adv/gateway_client.c @@ -123,8 +123,7 @@ void gw_election(struct bat_priv *bat_priv) "Removing selected gateway - " "no gateway in range\n"); gw_deselect(bat_priv); - } - else + } else rcu_read_unlock(); return;