qcacmn: hal: Replace fallthrough comment with attribute

-Wimplicit-fallthrough is being enabled by default. Some compilers
such as clang require the attribute instead of just a fallthrough comment.

Change-Id: Id97d026b2d90a607974cc541d0301565af423f2f
CRs-Fixed: 3218239
This commit is contained in:
David Oladunjoye
2022-06-09 11:46:45 -07:00
committed by Madan Koyyalamudi
parent e7422a7db6
commit 61b329ec5c

View File

@@ -1208,7 +1208,7 @@ hal_rx_parse_ru_allocation(struct hal_soc *hal_soc, void *tlv,
ppdu_info->rx_status.eht_data[2] |=
(ofdma_cmn_eb2->ru_allocation2_3 <<
QDF_MON_STATUS_EHT_RU_ALLOCATION2_3_SHIFT);
/* fallthrough */
fallthrough;
case HAL_EHT_BW_160:
num_ru_allocation_known += 2;
@@ -1218,14 +1218,14 @@ hal_rx_parse_ru_allocation(struct hal_soc *hal_soc, void *tlv,
ppdu_info->rx_status.eht_data[2] |=
(ofdma_cmn_eb2->ru_allocation2_1 <<
QDF_MON_STATUS_EHT_RU_ALLOCATION2_1_SHIFT);
/* fallthrough */
fallthrough;
case HAL_EHT_BW_80:
num_ru_allocation_known += 1;
ppdu_info->rx_status.eht_data[1] |=
(ofdma_cmn_eb1->ru_allocation1_2 <<
QDF_MON_STATUS_EHT_RU_ALLOCATION1_2_SHIFT);
/* fallthrough */
fallthrough;
case HAL_EHT_BW_40:
case HAL_EHT_BW_20:
num_ru_allocation_known += 1;