qcacld-3.0: Align feature flag WLAN_POWER_DEBUG properly for power stats
The WLAN_POWER_DEBUG feature flag for power stats is not properly aligned in the commit Ic395f393580fcd59faa4e4676f67a39ff37bdd1a and hence it is addressed in this change. Change-Id: I40236efa31e1d832884984536597122c04ecc269 CRs-Fixed: 2668142
This commit is contained in:

committed by
nshrivas

parent
6160bcb575
commit
91b7d01c3f
@@ -522,6 +522,7 @@ void hdd_sysfs_destroy_powerstats_interface(void)
|
||||
}
|
||||
sysfs_remove_file(driver_kobject, &power_stats_attribute.attr);
|
||||
}
|
||||
#endif
|
||||
|
||||
void hdd_sysfs_create_driver_root_obj(void)
|
||||
{
|
||||
@@ -551,7 +552,6 @@ void hdd_sysfs_destroy_driver_root_obj(void)
|
||||
driver_kobject = NULL;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_FEATURE_BEACON_RECEPTION_STATS
|
||||
static int hdd_sysfs_create_bcn_reception_interface(struct hdd_adapter
|
||||
|
@@ -4902,13 +4902,6 @@ int wma_unified_power_debug_stats_event_handler(void *handle,
|
||||
qdf_mem_free(power_stats_results);
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
int wma_unified_power_debug_stats_event_handler(void *handle,
|
||||
uint8_t *cmd_param_info,
|
||||
uint32_t len)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_FEATURE_BEACON_RECEPTION_STATS
|
||||
|
Reference in New Issue
Block a user