net: ethernet: Set the ptype by the caller in send
Instead of setting the upper protocol type in ethernet_send()
by checking the protocol type bits, use the ptype that is already
set by the caller. This allows new protocol types to be supported
and makes the system extensible.
Signed-off-by:
Jukka Rissanen <jukka.rissanen@nordicsemi.no>
Loading
Please sign in to comment