wlan: Define flag WLAN_OPEN_SOURCE for the open source driver
Define the WLAN_OPEN_SOURCE flag, so that the driver fills in
the time since boot as timestamp in the scan entries returned
to the usersapce.
Change-Id: I3911aaadfdf748ce3141db2b343eaffb20644244
CRs-fixed: 447981
diff --git a/Kbuild b/Kbuild
index e8ebf4c..2b8bfed 100644
--- a/Kbuild
+++ b/Kbuild
@@ -628,6 +628,10 @@
CDEFINES += -DWLAN_OPEN_SOURCE
endif
+ifeq ($(findstring opensource, $(WLAN_ROOT)), opensource)
+CDEFINES += -DWLAN_OPEN_SOURCE
+endif
+
KBUILD_CPPFLAGS += $(CDEFINES)
# Module information used by KBuild framework