diff --git a/core/hdd/inc/wlan_hdd_main.h b/core/hdd/inc/wlan_hdd_main.h index 0901a52b8104..3f4109e916d7 100644 --- a/core/hdd/inc/wlan_hdd_main.h +++ b/core/hdd/inc/wlan_hdd_main.h @@ -1534,7 +1534,7 @@ struct hdd_context { qdf_spinlock_t sched_scan_lock; /* Flag keeps track of wiphy suspend/resume */ - bool isWiphySuspended; + bool is_wiphy_suspended; /* Indicates about pending sched_scan results */ bool isSchedScanUpdatePending; diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 7a947381a2b2..9a1081f93c61 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -6464,7 +6464,7 @@ static void hdd_bus_bw_work_handler(struct work_struct *work) if (wlan_hdd_validate_context(hdd_ctx)) return; - if (hdd_ctx->isWiphySuspended) + if (hdd_ctx->is_wiphy_suspended) goto restart_timer; for (status = hdd_get_front_adapter(hdd_ctx, &adapterNode); @@ -9512,9 +9512,9 @@ int hdd_wlan_stop_modules(struct hdd_context *hdd_ctx, bool ftm_mode) cds_set_module_stop_in_progress(true); active_threads = cds_return_external_threads_count(); - if (active_threads > 0 || hdd_ctx->isWiphySuspended) { + if (active_threads > 0 || hdd_ctx->is_wiphy_suspended) { hdd_warn("External threads %d wiphy suspend %d", - active_threads, hdd_ctx->isWiphySuspended); + active_threads, hdd_ctx->is_wiphy_suspended); cds_print_external_threads(); @@ -9683,7 +9683,7 @@ static void hdd_state_info_dump(char **buf_ptr, uint16_t *size) hdd_debug("size of buffer: %d", *size); len += scnprintf(buf + len, *size - len, - "\n isWiphySuspended %d", hdd_ctx->isWiphySuspended); + "\n is_wiphy_suspended %d", hdd_ctx->is_wiphy_suspended); len += scnprintf(buf + len, *size - len, "\n is_scheduler_suspended %d", hdd_ctx->is_scheduler_suspended); diff --git a/core/hdd/src/wlan_hdd_power.c b/core/hdd/src/wlan_hdd_power.c index 679a47a802e1..e89ae200bfb6 100644 --- a/core/hdd/src/wlan_hdd_power.c +++ b/core/hdd/src/wlan_hdd_power.c @@ -1288,7 +1288,7 @@ QDF_STATUS hdd_wlan_shutdown(void) if (hdd_ctx->is_scheduler_suspended) { scheduler_resume(); hdd_ctx->is_scheduler_suspended = false; - hdd_ctx->isWiphySuspended = false; + hdd_ctx->is_wiphy_suspended = false; } #ifdef QCA_CONFIG_SMP if (true == hdd_ctx->is_ol_rx_thread_suspended) { @@ -1656,9 +1656,9 @@ static int __wlan_hdd_cfg80211_resume_wlan(struct wiphy *wiphy) MTRACE(qdf_trace(QDF_MODULE_ID_HDD, TRACE_CODE_HDD_CFG80211_RESUME_WLAN, - NO_SESSION, hdd_ctx->isWiphySuspended)); + NO_SESSION, hdd_ctx->is_wiphy_suspended)); qdf_spin_lock(&hdd_ctx->sched_scan_lock); - hdd_ctx->isWiphySuspended = false; + hdd_ctx->is_wiphy_suspended = false; if (true != hdd_ctx->isSchedScanUpdatePending) { qdf_spin_unlock(&hdd_ctx->sched_scan_lock); hdd_debug("Return resume is not due to PNO indication"); @@ -1903,8 +1903,8 @@ next_adapter: MTRACE(qdf_trace(QDF_MODULE_ID_HDD, TRACE_CODE_HDD_CFG80211_SUSPEND_WLAN, - NO_SESSION, hdd_ctx->isWiphySuspended)); - hdd_ctx->isWiphySuspended = true; + NO_SESSION, hdd_ctx->is_wiphy_suspended)); + hdd_ctx->is_wiphy_suspended = true; pld_request_bus_bandwidth(hdd_ctx->parent_dev, PLD_BUS_WIDTH_NONE); diff --git a/core/hdd/src/wlan_hdd_regulatory.c b/core/hdd/src/wlan_hdd_regulatory.c index 375b0a1dc7f0..ed5f9d124c87 100644 --- a/core/hdd/src/wlan_hdd_regulatory.c +++ b/core/hdd/src/wlan_hdd_regulatory.c @@ -713,7 +713,7 @@ void hdd_reg_notifier(struct wiphy *wiphy, return; } - if (hdd_ctx->isWiphySuspended == true) { + if (hdd_ctx->is_wiphy_suspended == true) { hdd_err("%s: system/cfg80211 is already suspend", __func__); return; }