batman-adv: send GW_DEL event when the gw client mode is deselected
authorAntonio Quartulli <antonio@open-mesh.com>
Fri, 12 Jul 2013 22:06:00 +0000 (00:06 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 28 Aug 2013 09:33:00 +0000 (11:33 +0200)
Whenever the GW client mode is deselected, a DEL event has
to be sent in order to tell userspace that the current
gateway has been lost. Send the uevent on state change only
if a gateway was currently selected.

Reported-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

No differences found