Skip to content
Commit 190ade91 authored by Bilal Wasim's avatar Bilal Wasim Committed by Carles Cufí
Browse files

drivers: eth: stm32: Fix invalid assertion comparison



The check for assertion on the "config_func" was added to
validate that the function pointer is valid. However, in
the code we are invoking the "config_func" and comparing
its output with NULL. This causes build failures with
CONFIG_ASSERT=1. Caused by PR-25393.

Tested on Nucleo F767Zi board.

Fixes #25427

Signed-off-by: default avatarBilal Wasim <bilalwasim676@gmail.com>
parent 32f351a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment