diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h index 5b70f5b8f6..cfb2b3dc46 100644 --- a/core/hdd/inc/wlan_hdd_cfg.h +++ b/core/hdd/inc/wlan_hdd_cfg.h @@ -392,7 +392,6 @@ struct hdd_config { uint32_t iface_change_wait_time; uint8_t multicast_host_fw_msgs; enum hdd_wext_control private_wext_control; - uint32_t timer_multiplier; bool enablefwprint; uint8_t enable_fw_log; diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 95caf59bb0..62128ead07 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -9439,7 +9439,6 @@ static void hdd_cfg_params_init(struct hdd_context *hdd_ctx) CFG_MULTICAST_HOST_FW_MSGS); config->private_wext_control = cfg_get(psoc, CFG_PRIVATE_WEXT_CONTROL); - config->timer_multiplier = cfg_get(psoc, CFG_TIMER_MULTIPLIER); config->enablefwprint = cfg_get(psoc, CFG_ENABLE_FW_UART_PRINT); config->enable_fw_log = cfg_get(psoc, CFG_ENABLE_FW_LOG); config->operating_channel = cfg_get(psoc, CFG_OPERATING_CHANNEL); @@ -9546,9 +9545,8 @@ struct hdd_context *hdd_context_create(struct device *dev) hdd_cfg_params_init(hdd_ctx); - hdd_debug("setting timer multiplier: %u", - hdd_ctx->config->timer_multiplier); - qdf_timer_set_multiplier(hdd_ctx->config->timer_multiplier); + qdf_timer_set_multiplier(cfg_get(hdd_ctx->psoc, CFG_TIMER_MULTIPLIER)); + hdd_debug("set timer multiplier: %u", qdf_timer_get_multiplier()); cds_set_fatal_event(cfg_get(hdd_ctx->psoc, CFG_ENABLE_FATAL_EVENT_TRIGGER)); @@ -15100,7 +15098,7 @@ void hdd_start_driver_ops_timer(int drv_op) hdd_drv_ops_task = current; qdf_timer_start(&hdd_drv_ops_inactivity_timer, - HDD_OPS_INACTIVITY_TIMEOUT * qdf_timer_get_multiplier()); + HDD_OPS_INACTIVITY_TIMEOUT); } /**