Skip to content
Commit 0b8f7d85 authored by Jérôme Pouiller's avatar Jérôme Pouiller Committed by Daniel DeGrasse
Browse files

drivers: wifi: siwx91x: Uniformize error management



Usually, the exception are treated in a condition before the nominal
case:

    ret = f();
    if (ret) {
        return -EXXX;
    }
    ... nominal case ...

siwx91x_on_join_ipv4() and siwx91x_on_join_ipv6() didn't follow this
pattern.

Signed-off-by: default avatarJérôme Pouiller <jerome.pouiller@silabs.com>
parent a89dc21a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment