Introduced by 99a6eb50ef5066e125cedb97bc0fcfcdff4f08cc ("batman-adv: deselect current GW on client mode switch off")
Reported-by: Marek Lindner mareklindner@neomailbox.ch Signed-off-by: Antonio Quartulli antonio@meshcoding.com --- gateway_client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gateway_client.c b/gateway_client.c index dca73bb..2d23c82 100644 --- a/gateway_client.c +++ b/gateway_client.c @@ -224,7 +224,8 @@ void batadv_gw_check_client_stop(struct batadv_priv *bat_priv) return;
/* deselect the current gateway so that next time that client mode is - * enabled a proper GW_ADD event can be sent */ + * enabled a proper GW_ADD event can be sent + */ batadv_gw_select(bat_priv, NULL);
/* if batman-adv is switching the gw client mode off and a gateway was