qcacld-3.0: Add null check for qdf_ctx in hdd_configure_cds

Currently in function hdd_configure_cds the driver is passing
the pointer from cds_get_context to ucfg_ipa_uc_ol_init without any
NULL check. This pointer later then gets dereferenced which can cause
null pointer dereference.

To solve this, added a null check before calling ucfg_ipa_uc_ol_init

Change-Id: Ie0d8e103c9eeac76d285c4b3870c3c4ea9172dc6
CRs-Fixed: 2462711
1 file changed