qcacld-3.0: Fix a compilation error in wlan_hdd_auto_shutdown_cb()

Fix a compilation when FEATURE_WLAN_AUTO_SHUTDOWN is enabled

Change-Id: Ib3b4c48a32482dc3175b02e8c7180d8ced976239
CRs-Fixed: 1067109
This commit is contained in:
Mahesh Kumar Kalikot Veetil 2016-09-14 15:15:49 -07:00 • committed by qcabuildsw
commit d214d55b6e

View file

@ -8134,7 +8134,7 @@ void wlan_hdd_send_svc_nlink_msg(int radio, int type, void *data, int len)
#ifdef FEATURE_WLAN_AUTO_SHUTDOWN
void wlan_hdd_auto_shutdown_cb(void)
{
hdd_context_t *hdd_ctx = cdf_get_global_context();
hdd_context_t *hdd_ctx = cds_get_global_context();
if (!hdd_ctx)
return;