diff --git a/core/mac/src/include/dot11f.h b/core/mac/src/include/dot11f.h index a413a0f98acc..efa5372a95bb 100644 --- a/core/mac/src/include/dot11f.h +++ b/core/mac/src/include/dot11f.h @@ -26,7 +26,7 @@ * * * This file was automatically generated by 'framesc' - * Mon Mar 25 14:48:07 2019 from the following file(s): + * Wed Apr 24 14:55:45 2019 from the following file(s): * * dot11f.frms * diff --git a/core/mac/src/sys/legacy/src/utils/src/dot11f.c b/core/mac/src/sys/legacy/src/utils/src/dot11f.c index a01237a4db46..3473a442cf91 100644 --- a/core/mac/src/sys/legacy/src/utils/src/dot11f.c +++ b/core/mac/src/sys/legacy/src/utils/src/dot11f.c @@ -24,7 +24,7 @@ * * * This file was automatically generated by 'framesc' - * Mon Mar 25 14:48:07 2019 from the following file(s): + * Wed Apr 24 14:55:45 2019 from the following file(s): * * dot11f.frms * @@ -8356,7 +8356,7 @@ uint32_t dot11f_unpack_ie_esp_information(tpAniSirGlobal pCtx, uint32_t status = DOT11F_PARSE_SUCCESS; (void) pBuf; (void)ielen; /* Shutup the compiler */ if (pDst->present) - status = DOT11F_DUPLICATE_IE; + return DOT11F_DUPLICATE_IE; pDst->present = 1; pDst->num_data = (uint8_t)(ielen); if (ielen > 96) { @@ -8381,7 +8381,7 @@ uint32_t dot11f_unpack_ie_ext_chan_switch_ann(tpAniSirGlobal pCtx, uint32_t status = DOT11F_PARSE_SUCCESS; (void) pBuf; (void)ielen; /* Shutup the compiler */ if (pDst->present) - status = DOT11F_DUPLICATE_IE; + return DOT11F_DUPLICATE_IE; pDst->present = 1; if (unlikely(ielen < 1)) { pDst->present = 0; @@ -8429,7 +8429,7 @@ uint32_t dot11f_unpack_ie_fils_assoc_delay_info(tpAniSirGlobal pCtx, uint32_t status = DOT11F_PARSE_SUCCESS; (void) pBuf; (void)ielen; /* Shutup the compiler */ if (pDst->present) - status = DOT11F_DUPLICATE_IE; + return DOT11F_DUPLICATE_IE; pDst->present = 1; if (unlikely(ielen < 1)) { pDst->present = 0; @@ -8696,7 +8696,7 @@ uint32_t dot11f_unpack_ie_he_cap(tpAniSirGlobal pCtx, uint16_t tmp81__; (void) pBuf; (void)ielen; /* Shutup the compiler */ if (pDst->present) - status = DOT11F_DUPLICATE_IE; + return DOT11F_DUPLICATE_IE; pDst->present = 1; if (unlikely(ielen < 4)) { pDst->present = 0; @@ -8939,7 +8939,7 @@ uint32_t dot11f_unpack_ie_he_op(tpAniSirGlobal pCtx, uint8_t tmp84__; (void) pBuf; (void)ielen; /* Shutup the compiler */ if (pDst->present) - status = DOT11F_DUPLICATE_IE; + return DOT11F_DUPLICATE_IE; pDst->present = 1; if (unlikely(ielen < 2)) { pDst->present = 0; @@ -9168,7 +9168,7 @@ uint32_t dot11f_unpack_ie_mu_edca_param_set(tpAniSirGlobal pCtx, uint8_t tmp94__; (void) pBuf; (void)ielen; /* Shutup the compiler */ if (pDst->present) - status = DOT11F_DUPLICATE_IE; + return DOT11F_DUPLICATE_IE; pDst->present = 1; if (unlikely(ielen < 1)) { pDst->present = 0; @@ -9332,7 +9332,7 @@ uint32_t dot11f_unpack_ie_roaming_consortium_sel(tpAniSirGlobal pCtx, uint32_t status = DOT11F_PARSE_SUCCESS; (void) pBuf; (void)ielen; /* Shutup the compiler */ if (pDst->present) - status = DOT11F_DUPLICATE_IE; + return DOT11F_DUPLICATE_IE; pDst->present = 1; pDst->num_data = (uint8_t)(ielen); DOT11F_MEMCPY(pCtx, pDst->data, pBuf, (ielen));