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

Commit b216c525 authored by Tiger Yu's avatar Tiger Yu Committed by nshrivas
Browse files

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
parent fb8a22a0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/*
 * Copyright (c) 2012-2018 The Linux Foundation. All rights reserved.
 * Copyright (c) 2012-2019 The Linux Foundation. All rights reserved.
 *
 * Permission to use, copy, modify, and/or distribute this software for
 * any purpose with or without fee is hereby granted, provided that the
@@ -2714,7 +2714,7 @@ static inline int hdd_process_pktlog_command(hdd_context_t *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