qcacld-3.0: Fix implicit-fallthrough compile error casued by gcc 9.3

Compiling with gcc 9.3 will cause many implicit-fallthrough
compile errors.

Fix is to add keyword fallthrough to resolve such compile error.

Change-Id: I3fdc48b1a9ab2345a47ae644e3217b4d29238364
CRs-Fixed: 2785172
This commit is contained in:
hqu
2020-09-04 22:53:37 +08:00
committed by snandini
parent f9c6ffdebb
commit f88549090b
15 changed files with 34 additions and 18 deletions

View File

@@ -2122,7 +2122,7 @@ wlansap_reset_sap_config_add_ie(struct sap_config *config,
}
if (eUPDATE_IE_ALL != updateType)
break;
/* fallthrough */
case eUPDATE_IE_ASSOC_RESP:
if (config->pAssocRespIEsBuffer) {
qdf_mem_free(config->pAssocRespIEsBuffer);
@@ -2131,7 +2131,7 @@ wlansap_reset_sap_config_add_ie(struct sap_config *config,
}
if (eUPDATE_IE_ALL != updateType)
break;
/* fallthrough */
case eUPDATE_IE_PROBE_BCN:
if (config->pProbeRespBcnIEsBuffer) {
qdf_mem_free(config->pProbeRespBcnIEsBuffer);
@@ -2140,7 +2140,7 @@ wlansap_reset_sap_config_add_ie(struct sap_config *config,
}
if (eUPDATE_IE_ALL != updateType)
break;
/* fallthrough */
default:
if (eUPDATE_IE_ALL != updateType)
sap_err("Invalid buffer type %d", updateType);