From 15ea2438188dac23b26fcd2f53e7fa4a8d80a7e8 Mon Sep 17 00:00:00 2001 From: Martin D Kealey Date: Sat, 24 Sep 2022 17:44:12 +1000 Subject: [PATCH] English grammar & spelling --- core/rtw_chplan.c | 12 ++++++------ platform/custom_country_chplan.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/core/rtw_chplan.c b/core/rtw_chplan.c index 45e6074..cbc6843 100644 --- a/core/rtw_chplan.c +++ b/core/rtw_chplan.c @@ -2460,12 +2460,12 @@ void dump_chplan_test(void *sel) { int i, j; - /* check redundent */ + /* check redundant */ for (i = 0; i < RTW_CHD_2G_MAX; i++) { for (j = 0; j < i; j++) { if (CH_LIST_LEN(rtw_channel_def_2g[i]) == CH_LIST_LEN(rtw_channel_def_2g[j]) && _rtw_memcmp(&CH_LIST_CH(rtw_channel_def_2g[i], 0), &CH_LIST_CH(rtw_channel_def_2g[j], 0), CH_LIST_LEN(rtw_channel_def_2g[i]) + 1) == _TRUE) - RTW_PRINT_SEL(sel, "2G chd:%u and %u is the same\n", i, j); + RTW_PRINT_SEL(sel, "2G chd:%u and %u are the same\n", i, j); } } @@ -2478,12 +2478,12 @@ void dump_chplan_test(void *sel) } #if CONFIG_IEEE80211_BAND_5GHZ - /* check redundent */ + /* check redundant */ for (i = 0; i < RTW_CHD_5G_MAX; i++) { for (j = 0; j < i; j++) { if (CH_LIST_LEN(rtw_channel_def_5g[i]) == CH_LIST_LEN(rtw_channel_def_5g[j]) && _rtw_memcmp(&CH_LIST_CH(rtw_channel_def_5g[i], 0), &CH_LIST_CH(rtw_channel_def_5g[j], 0), CH_LIST_LEN(rtw_channel_def_5g[i]) + 1) == _TRUE) - RTW_PRINT_SEL(sel, "5G chd:%u and %u is the same\n", i, j); + RTW_PRINT_SEL(sel, "5G chd:%u and %u are the same\n", i, j); } } @@ -2496,7 +2496,7 @@ void dump_chplan_test(void *sel) } #endif - /* check redundent */ + /* check redundant */ for (i = 0; i < RTW_ChannelPlanMap_size; i++) { if (!rtw_is_channel_plan_valid(i)) continue; @@ -2504,7 +2504,7 @@ void dump_chplan_test(void *sel) if (!rtw_is_channel_plan_valid(j)) continue; if (_rtw_memcmp(&RTW_ChannelPlanMap[i], &RTW_ChannelPlanMap[j], sizeof(RTW_ChannelPlanMap[i])) == _TRUE) - RTW_PRINT_SEL(sel, "channel plan 0x%02x and 0x%02x is the same\n", i, j); + RTW_PRINT_SEL(sel, "channel plans 0x%02x and 0x%02x are the same\n", i, j); } } } diff --git a/platform/custom_country_chplan.h b/platform/custom_country_chplan.h index 67f621f..d260ea5 100644 --- a/platform/custom_country_chplan.h +++ b/platform/custom_country_chplan.h @@ -14,7 +14,7 @@ *****************************************************************************/ #error "You have defined CONFIG_CUSTOMIZED_COUNTRY_CHPLAN_MAP to use a customized map of your own instead of the default one" -#error "Before removing these error notifications, please make sure regulatory certification requirements of your target markets" +#error "Before removing these error notifications, please make sure regulatory certification requirements are met in your target markets" static const struct country_chplan CUSTOMIZED_country_chplan_map[] = { COUNTRY_CHPLAN_ENT("TW", 0x76, 1), /* Taiwan */