qcacmn: Ensure shadow_v2 config is initialized

Fix a crash durring hif_wlan_enable where the shadow_v2 was
dereferenced while pointing to garbage memory.

For legacy ce, uninitialized values from the stack were left
in the pld shadow_v2 config.  The checks to skip printing the
shadow_v2 config were confused by uninitized stack memory and
the driver tries to dereference unitialized shadow_v2 memory.

Ensure the configuration is filled with NULL & 0 when it is
not applicable.

Change-Id: I668fcf78b1a7c8e6e235d96e428a9808a4e072c7
CRs-Fixed: 2001315
1 file changed