[WCNCR00146539] misc: fix compilation error in kernel 2.6.32
[Description]
Fix complation error in kernel 2.6.32
Change-Id: I90bf2a8164465141853efff943f853df960a3a99
Feature: misc
Signed-off-by: Awk Jiang <awk.jiang@mediatek.com>
CR-Id: WCNCR00146539
diff --git a/os/linux/include/gl_vendor.h b/os/linux/include/gl_vendor.h
index c2564b5..82aeebf 100644
--- a/os/linux/include/gl_vendor.h
+++ b/os/linux/include/gl_vendor.h
@@ -303,7 +303,7 @@
********************************************************************************
*/
-#if 1
+#if KERNEL_VERSION(3, 5, 0) <= LINUX_VERSION_CODE
/*
* #define NLA_PUT(skb, attrtype, attrlen, data) \
* do { \