From: Antonio Quartulli Date: Mon, 4 Nov 2013 19:59:40 +0000 (+0100) Subject: batman-adv: deselect current GW on client mode switch off X-Git-Tag: v3.14-rc1~94^2~236^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3163181573f3dea264c5ffd578c187aef898bbb;p=pandora-kernel.git batman-adv: deselect current GW on client mode switch off When switching from gw_mode client to either off or server the current selected gateway has to be deselected. In this way when client mode is enabled again a gateway re-election is forced and a GW_ADD event is consequently sent. The current behaviour instead is to keep the current gateway leading to no GW_ADD event when gw_mode client is selected for a second time Signed-off-by: Antonio Quartulli Signed-off-by: Marek Lindner Signed-off-by: Antonio Quartulli --- Reading git-diff-tree failed