batman-adv: drop direction in _batadv_is_ap_isolated kernel-doc

The _batadv_is_ap_isolated() is called by

* batadv_transtable_search()
  - tt_local_entry is the source
  - tt_global_entry is the destination
* batadv_is_ap_isolated
  - tt_local_entry is the destination
  - tt_global_entry is the source

It is therefore incorrect to document the tt_local_entry as sending client
and tt_global_entry as the destination client.

Reported-by: Sashiko <sashiko-bot@kernel.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
Sven Eckelmann 2026-08-06 18:33:24 +02:00
parent c6c8f1d693
commit b963ee1dc3
No known key found for this signature in database
GPG Key ID: 4D0F772BD314F5CB

View File

@ -2437,8 +2437,8 @@ static void batadv_tt_global_table_free(struct batadv_priv *bat_priv)
/**
* _batadv_is_ap_isolated() - check whether two clients are AP-isolated from
* each other
* @tt_local_entry: local TT entry of the sending client
* @tt_global_entry: global TT entry of the destination client
* @tt_local_entry: local TT entry of one local client
* @tt_global_entry: global TT entry of the remote client
*
* Return: true if traffic between the two clients should be dropped because
* either both are WiFi clients or both carry the ISOLATION flag; false