Skip to content
Commit d40abe8c authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Carles Cufí
Browse files

net: vlan: Fix net_eth_get_vlan_tag() to check correct interface



The network interface parameter for net_eth_get_vlan_tag() should
be the VLAN interface so use the search loop properly.
Earlier the main interface could be checked.

Add also test cases for this so that we can catch that the func
works properly.

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