qcacmn: Use CONFIG_MCL flag to define MCL_OR_WIN_VALUE

Use CONFIG_MCL flag to separate MCL vs WIN version of
MCL_OR_WIN_VALUE macro.

Change-Id: Id14200ceb261eb10f9582ebefd75e06a4fe9f17f
CRs-Fixed: 2283692
This commit is contained in:
Arif Hussain
2018-07-25 16:28:35 -07:00
committed by nshrivas
parent c3f3f9d4a8
commit f0e87032dc

View File

@@ -85,7 +85,7 @@ enum cfg_fallback_behavior {
(NON_INI, IPV6, struct qdf_ipv6_addr, name, -1, -1, -1, desc, def)
/* utility macros/functions */
#ifdef MCL
#ifdef CONFIG_MCL
#define MCL_OR_WIN_VALUE(mcl_value, win_value) mcl_value
#else
#define MCL_OR_WIN_VALUE(mcl_value, win_value) win_value