Skip to content
Commit 94a8d87c authored by Luca Coelho's avatar Luca Coelho
Browse files

iwlwifi: mvm: pre-initialize alive_data in wait_alive()



The function we pass to the wait alive notification procedure may may
not even get called if the timeout occurs before the function is
called.  To prevent accessing unitialized data in alive_data, pre-set
it to zero in the declaration.  Found by static analyzers.

Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent e78da25e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment