Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cffd2154 authored by Gustavo Solaira's avatar Gustavo Solaira
Browse files

net: cnss: Fix crash when SDIO device is not inserted



Check to see if the host is not NULL before trying to use
it, this avoids a crash when the driver is probed, but the
card is not available. Also remove dependency on ARCH_MSM
since it is not used anymore.

Change-Id: I476a512dd41e0c336b71c96d8dd2972cdadb8732
Signed-off-by: default avatarGustavo Solaira <gustavos@codeaurora.org>
parent cd4e77f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment