Explorar el Código

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
Jeff Johnson hace 7 años
padre
commit
b8adae49a1

+ 2 - 2
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;

+ 3 - 3
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);

+ 6 - 6
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);
 	}
 }