Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c73b8b29 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cnss2: Update DRV support flag in the feature list of host cap"

parents 5b17b911 dc7b9ccc
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3063,8 +3063,10 @@ static bool cnss_pci_is_drv_supported(struct cnss_pci_data *pci_priv)
		    drv_supported ? "supported" : "not supported");
	pci_priv->drv_supported = drv_supported;

	if (drv_supported)
	if (drv_supported) {
		plat_priv->cap.cap_flag |= CNSS_HAS_DRV_SUPPORT;
		cnss_set_feature_list(plat_priv, CNSS_DRV_SUPPORT_V01);
	}

	return drv_supported;
}
+1 −0
Original line number Diff line number Diff line
@@ -249,6 +249,7 @@ enum wlfw_m3_segment_type_v01 {
enum cnss_feature_v01 {
	CNSS_FEATURE_MIN_VAL_V01 = INT_MIN,
	BOOTSTRAP_CLOCK_SELECT_V01 = 0,
	CNSS_DRV_SUPPORT_V01 = 1,
	CNSS_MAX_FEATURE_V01 = 64,
	CNSS_FEATURE_MAX_VAL_V01 = INT_MAX,
};