[PATCH batadv] batman-adv: drop direction in _batadv_is_ap_isolated kernel-doc
Sven Eckelmann <[email protected]>
| Newsgroups | org.open-mesh.lists.batman |
|---|---|
| Message-ID | <20260806-ap_isolation_kerneldoc-param-v1-1-59e0d1cfb5e3@narfation.org> |
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 <[email protected]> Signed-off-by: Sven Eckelmann <[email protected]> --- net/batman-adv/translation-table.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c index 4f47c97b..883b6c33 100644 --- a/net/batman-adv/translation-table.c +++ b/net/batman-adv/translation-table.c @@ -2490,8 +2490,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 --- base-commit: 979765fe212e92b34a1627998820a9c3aaea6424 change-id: 20260806-ap_isolation_kerneldoc-param-bed57145cb53 Best regards, -- Sven Eckelmann <[email protected]>