qcacld-3.0: Fix CDS layering violation in hdd_wlan_start_modules()
Currently hdd_wlan_start_modules() gets a pointer to the CDS Global
Context, and then in the failure path it dereferences this pointer to
call hdd_hif_close(). This is a layering violation -- HDD should not
be aware of the contents of the CDS Global Context and should not be
dereferencing the pointer.
Modify the code to use the exported cds_get_context() API to retrieve
this information.
Change-Id: I640bea70b50d5533afa1ee1b2e0cd6b9619a4ac2
CRs-Fixed: 2118692
1 file changed