From 7697f93852f0c2269bd4b48336f0a8d3cfdcfa63 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sat, 12 Nov 2022 16:43:38 -0800 Subject: [PATCH] qcacld-3.0: Rename band_5_ghz_chanenls_size Rename band_5_ghz_chanenls_size to fix misspelling of "channels". Change-Id: Ieaf7ca29331be6a0453029ef605f2a0df2c06d17 CRs-Fixed: 3335364 --- core/hdd/src/wlan_hdd_cfg80211.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index c4fdef1b56..01884998a9 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -360,10 +360,10 @@ static const struct ieee80211_channel hdd_5dot9_ghz_ch[] = { #define band_2_ghz_channels_size sizeof(hdd_channels_2_4_ghz) #ifdef WLAN_FEATURE_DSRC -#define band_5_ghz_chanenls_size (sizeof(hdd_channels_5_ghz) + \ +#define band_5_ghz_channels_size (sizeof(hdd_channels_5_ghz) + \ sizeof(hdd_channels_dot11p)) #else -#define band_5_ghz_chanenls_size (sizeof(hdd_channels_5_ghz) + \ +#define band_5_ghz_channels_size (sizeof(hdd_channels_5_ghz) + \ sizeof(hdd_5dot9_ghz_ch)) #endif @@ -18865,7 +18865,7 @@ int wlan_hdd_cfg80211_init(struct device *dev, if (!hdd_ctx->channels_2ghz) return -ENOMEM; - hdd_ctx->channels_5ghz = qdf_mem_malloc(band_5_ghz_chanenls_size); + hdd_ctx->channels_5ghz = qdf_mem_malloc(band_5_ghz_channels_size); if (!hdd_ctx->channels_5ghz) goto mem_fail_5g;