mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
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
This commit is contained in:
parent
43ee7eea10
commit
4c0e83ee98
1 changed files with 5 additions and 3 deletions
8
Kbuild
8
Kbuild
|
|
@ -208,9 +208,11 @@ endif
|
|||
|
||||
# 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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue