Просмотр исходного кода

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
Chandrasekaran, Manishekar 9 лет назад
Родитель
Сommit
96c9096523
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      core/hdd/src/wlan_hdd_hostapd.c

+ 1 - 1
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;