From b8adae49a16dd6022db8f368315a7b26657d1558 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Tue, 27 Feb 2018 16:12:00 -0800 Subject: [PATCH] qcacld-3.0: Fix instances of bad indentation in HDD The checkpatch script has identified multiple instances of non-conformant indentation in HDD, so fix them. Change-Id: Icb28911e54324198d50018fcaf6d6662c9dc161c CRs-Fixed: 2197006 --- core/hdd/src/wlan_hdd_cfg80211.c | 4 ++-- core/hdd/src/wlan_hdd_hostapd.c | 6 +++--- core/hdd/src/wlan_hdd_ipa.c | 12 ++++++------ 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index 6356f29fdb..6b6143e8d4 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -17383,7 +17383,7 @@ static int wlan_hdd_cfg80211_set_fils_config(struct hdd_adapter *adapter, goto fils_conn_fail; } if (!wlan_hdd_fils_data_in_limits(req)) - goto fils_conn_fail; + goto fils_conn_fail; roam_profile->fils_con_info->is_fils_connection = true; roam_profile->fils_con_info->sequence_number = @@ -21334,7 +21334,7 @@ static int __wlan_hdd_cfg80211_update_connect_params( if (changed & UPDATE_FILS_ERP_INFO) { if (!wlan_hdd_fils_data_in_limits(req)) - return -EINVAL; + return -EINVAL; fils_info->key_nai_length = req->fils_erp_username_len + sizeof(char) + req->fils_erp_realm_len; diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c index 3f2093f2d4..05e36a0451 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/core/hdd/src/wlan_hdd_hostapd.c @@ -1603,9 +1603,9 @@ hdd_stop_sap_due_to_invalid_channel(struct work_struct *work) sap_stop_bss_work); cds_ssr_protect(__func__); if (sap_adapter == NULL) { - cds_err("sap_adapter is NULL, no work needed"); - cds_ssr_unprotect(__func__); - return; + cds_err("sap_adapter is NULL, no work needed"); + cds_ssr_unprotect(__func__); + return; } hdd_debug("work started for sap session[%d]", sap_adapter->session_id); wlan_hdd_stop_sap(sap_adapter); diff --git a/core/hdd/src/wlan_hdd_ipa.c b/core/hdd/src/wlan_hdd_ipa.c index 7fc03dfe64..fbb3a4a9ac 100644 --- a/core/hdd/src/wlan_hdd_ipa.c +++ b/core/hdd/src/wlan_hdd_ipa.c @@ -6062,15 +6062,15 @@ hdd_ipa_uc_proc_pending_event(struct hdd_ipa_priv *hdd_ipa, bool is_loading) qdf_list_remove_front(&hdd_ipa->pending_event, (qdf_list_node_t **)&pending_event); while (pending_event != NULL) { - if (pending_event->is_loading == is_loading) - __hdd_ipa_wlan_evt(pending_event->adapter, - pending_event->sta_id, - pending_event->type, - pending_event->mac_addr); + if (pending_event->is_loading == is_loading) + __hdd_ipa_wlan_evt(pending_event->adapter, + pending_event->sta_id, + pending_event->type, + pending_event->mac_addr); qdf_mem_free(pending_event); pending_event = NULL; qdf_list_remove_front(&hdd_ipa->pending_event, - (qdf_list_node_t **)&pending_event); + (qdf_list_node_t **)&pending_event); } }