From d9082edf70143d0c37a6e6a7e7032dd356a152fc Mon Sep 17 00:00:00 2001 From: "Chandrasekaran, Manishekar" Date: Fri, 20 Nov 2015 16:47:45 +0530 Subject: [PATCH] qcacld-3.0: Fix channel width assignment to improper enum value Fix the channel width of type 'enum hw_mode_bandwidth' getting wrongly assigned to enum of type 'tSirWifiChannelWidth'. The tag values of each of these enums are different. CRs-Fixed: 942090 Change-Id: Ic3610e6fcb7c89f0aeed829b83869169f4596ce8 --- core/hdd/src/wlan_hdd_hostapd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c index a796d956f781..14a01260702d 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/core/hdd/src/wlan_hdd_hostapd.c @@ -8270,7 +8270,7 @@ static int __wlan_hdd_cfg80211_start_ap(struct wiphy *wiphy, { hdd_adapter_t *pAdapter = WLAN_HDD_GET_PRIV_PTR(dev); hdd_context_t *pHddCtx; - tSirWifiChannelWidth channel_width; + enum hw_mode_bandwidth channel_width; int status; uint8_t channel;