Skip to content
Commit 07227521 authored by Piotr Mienkowski's avatar Piotr Mienkowski Committed by Carles Cufí
Browse files

drivers: eth_sam_gmac: fix eth_sam_gmac_set_config()



Fix handling of the return value by `eth_sam_gmac_set_config` function.
The function is used as a backend by
`net_mgmt(NET_REQUEST_ETHERNET_SET_MAC_ADDRESS, ...)` to change the
interface MAC address at run time.

Tested on sam_e70_xplained board.

Fixes #42151

Signed-off-by: default avatarPiotr Mienkowski <piotr.mienkowski@gmail.com>
parent 17979bdf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment