Selaa lähdekoodia

qcacld-3.0: Don't enable the scatter-gather feature for HL solution

The HL solution doesn't support the scatter-gather feature.
Only enable the scatter-gather feature when FEATURE_SG is set and
CONFIG_HL_SUPPORT is not set.

Change-Id: I221fd0fee0b83e30ed245f6b7ce2888d438be1e4
CRs-Fixed: 2341654
Tiger Yu 6 vuotta sitten
vanhempi
sitoutus
8379575967
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      core/hdd/inc/wlan_hdd_main.h

+ 1 - 1
core/hdd/inc/wlan_hdd_main.h

@@ -2726,7 +2726,7 @@ int hdd_process_pktlog_command(struct hdd_context *hdd_ctx,
 }
 #endif /* REMOVE_PKT_LOG */
 
-#ifdef FEATURE_SG
+#if defined(FEATURE_SG) && !defined(CONFIG_HL_SUPPORT)
 /**
  * hdd_set_sg_flags() - enable SG flag in the network device
  * @hdd_ctx: HDD context