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

Commit 8d398f0f authored by bings's avatar bings
Browse files

cnss_sdio: set wdrv only when cnss_sdio_wlan_register_driver succeeds



When wlan platform driver routine cnss_sdio_wlan_register_driver
returns non-zero, sdio wlan driver fails to install, and structure
allocated by sdio wlan driver will be freed.

wdrv in cnss_sdio_info is used to point to struture allocated by
sdio wlan driver and it should be set when no error in the routine
cnss_sdio_wlan_register_driver.

CRs-Fixed: 2099754
Change-Id: I0488b1da03da1fe3bfe2fc319059b66e09dea12f
Signed-off-by: default avatarbings <bings@codeaurora.org>
parent 27501237
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