Explorar el Código

qcacld-3.0: Fix instances of bad brace placement in HDD

The checkpatch script has identified two instances of non-conformant
brace placement in HDD, so fix them.

Change-Id: I0c8bbf2258b24c4876c6a8749633b90873980e95
CRs-Fixed: 2196976
Jeff Johnson hace 7 años
padre
commit
109e79d599
Se han modificado 2 ficheros con 2 adiciones y 4 borrados
  1. 1 2
      core/hdd/src/wlan_hdd_assoc.c
  2. 1 2
      core/hdd/src/wlan_hdd_main.c

+ 1 - 2
core/hdd/src/wlan_hdd_assoc.c

@@ -4855,8 +4855,7 @@ eCsrAuthType hdd_translate_rsn_to_csr_auth_type(uint8_t auth_suite[4])
 	} else if (memcmp(auth_suite, ccp_rsn_oui_0c, 4) == 0) {
 		/* Check for Suite B EAP 384 */
 		auth_type = eCSR_AUTH_TYPE_SUITEB_EAP_SHA384;
-	} else
-	{
+	} else {
 		hdd_translate_fils_rsn_to_csr_auth(auth_suite, &auth_type);
 		hdd_translate_sae_rsn_to_csr_auth(auth_suite, &auth_type);
 	}

+ 1 - 2
core/hdd/src/wlan_hdd_main.c

@@ -4802,8 +4802,7 @@ QDF_STATUS hdd_stop_adapter(struct hdd_context *hdd_ctx,
 				wlan_hdd_cfg80211_indicate_disconnect(
 					adapter->dev, true,
 					WLAN_REASON_UNSPECIFIED);
-			}
-			else
+			} else
 				qdf_ret_status = sme_roam_disconnect(
 					hdd_ctx->hHal,
 					adapter->session_id,