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
This commit is contained in:
Chandrasekaran, Manishekar 2015-11-20 16:47:45 +05:30 • committed by Satish Singh
commit d9082edf70

View file

@ -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;