Skip to content
Commit 78168274 authored by Vincent Wan's avatar Vincent Wan Committed by Kumar Gala
Browse files

drivers: wifi: simplelink: Fix error handling



The driver is not returning correct error codes when error occurs.
The error handling function is expecting negative input values, but
that is not true for BSD error codes. So I am taking an approach
where I use a function to convert SimpleLink error codes to BSD
error codes, and call slcb_setErrno() to set the errno independently.

Fixes #12745

Signed-off-by: default avatarVincent Wan <vincent.wan@linaro.org>
parent 9bf05a56
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment