Skip to content
Commit 091d47a5 authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Anas Nashif
Browse files

net: gptp: Return proper port number for given interface



The port number is stored starting from 0 in Ethernet context.
But in gPTP, it is an index which starts from 1. So increase
the value by 1 for a value returned from Ethernet context.

Fixes #26080

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent e5d444a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment