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

Commit d6841a6d authored by Yue Ma's avatar Yue Ma
Browse files

cnss: Add NULL check for PM related APIs



Since CMSS PM related APIs can be called at very early stage of WLAN
driver loading, add NULL check for them to avoid crashes if PCIe
enumeration fails which makes the penv variable as NULL.

Change-Id: I7c5e67cb1583b48b24ec04df21e482f4885d2e42
CRs-fixed: 758267
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent db33b46d
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