diff options
| author | Tang Yingying <yintang@codeaurora.org> | 2017-01-19 17:10:39 +0800 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2017-02-10 08:09:50 -0800 |
| commit | 02f5de332014d32404932d8865325e1ce6708be9 (patch) | |
| tree | be342d06a322f56ea4db1a260db957a54d065a34 | |
| parent | 66bd740b6cc4fe126e5571266c013f885af207f2 (diff) | |
qcacld-3.0: Disable LRO feature when linux kernel version < 4.4
Currently kernel LRO API is only provided in version 4.4. There will
be compilation error if kernel version < 4.4. Add fix to disable
LRO feature when linux kernel version < 4.4.
Change-Id: I69198e55bb3c4ee7c5844e2b7b55e12cb8075d7c
CRs-Fixed: 1112463
| -rw-r--r-- | Kbuild | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -197,9 +197,11 @@ ifneq ($(CONFIG_ROME_IF),sdio) # Flag to enable LRO (Large Receive Offload) ifeq ($(CONFIG_INET_LRO), y) - CONFIG_WLAN_LRO := y - else - CONFIG_WLAN_LRO := n + ifeq ($(VERSION), 4) + CONFIG_WLAN_LRO := y + else + CONFIG_WLAN_LRO := n + endif endif endif |
