commit | d83b852b468022ee9eda00a1bf24864b61954510 | [log] [tgz] |
---|---|---|
author | Yue Ma <yuem@codeaurora.org> | Wed Jun 27 18:13:46 2018 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri Jun 29 15:48:04 2018 -0700 |
tree | 80ee57cf663fa61d38a1675625573bf056f9fff4 | |
parent | d77ce9255ec0d34658e4d97e6adf2e394b35d324 [diff] |
cnss2: Add NULL check for pci_priv in dev_boot debug handling If device is not ready, pci_priv will be NULL and be dereferenced in some test cases using dev_boot debug node. Add NULL check to fix it. Change-Id: I621d242ec7f34cf7b1eda9e067cf7b222f76eb31 Signed-off-by: Yue Ma <yuem@codeaurora.org>