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
This commit is contained in:
Jeff Johnson
2018-02-27 15:10:04 -08:00
committed by snandini
orang tua 384d0598ce
melakukan 109e79d599
2 mengubah file dengan 2 tambahan dan 4 penghapusan

Melihat File

@@ -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);
}

Melihat File

@@ -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,