batman-adv: detect clients connected through a 802.11 device
Clients connected through a 802.11 device are now marked with the TT_CLIENT_WIFI flag. This flag is also advertised with the tt announcement. Signed-off-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
This commit is contained in:

committed by
Marek Lindner

parent
015758d002
commit
bc2790808a
@@ -1299,7 +1299,7 @@ int recv_roam_adv(struct sk_buff *skb, struct hard_iface *recv_if)
|
||||
roam_adv_packet->client);
|
||||
|
||||
tt_global_add(bat_priv, orig_node, roam_adv_packet->client,
|
||||
atomic_read(&orig_node->last_ttvn) + 1, true);
|
||||
atomic_read(&orig_node->last_ttvn) + 1, true, false);
|
||||
|
||||
/* Roaming phase starts: I have new information but the ttvn has not
|
||||
* been incremented yet. This flag will make me check all the incoming
|
||||
|
Reference in New Issue
Block a user