qca-nss-ecm: fix incorrect else if statement

This commit is contained in:
Qosmio 2024-03-17 01:40:36 -04:00
parent ebd3cebaec
commit 9a2a123a47

View File

@ -146,7 +146,7 @@
#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0))
if (likely(!(to_dev->ingress_cl_list))) {
-#else
+#elseif (LINUX_VERSION_CODE < KERNEL_VERSION(6, 6, 0))
+#elif (LINUX_VERSION_CODE < KERNEL_VERSION(6, 6, 0))
if (likely(!(to_dev->miniq_ingress))) {
+#else
+ if (likely(!(to_dev->tcx_ingress))) {