From c81ba245f0b707ead1053247c0a2c15249fe8387 Mon Sep 17 00:00:00 2001 From: Manishekar Chandrasekaran Date: Mon, 18 Jul 2016 17:44:44 +0530 Subject: [PATCH] qcacld-3.0: Fix compilation error when disabling WLAN_OPEN_P2P_INTERFACE Fix the compilation error when the feature flag WLAN_OPEN_P2P_INTERFACE is disabled. Change-Id: I661f31f0f5c06afbaab789836078822c7af08efe CRs-Fixed: 1042901 --- core/hdd/src/wlan_hdd_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 0ab55fd72ddc..fecba9a681e5 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -6196,7 +6196,7 @@ static int hdd_open_p2p_interface(hdd_context_t *hdd_ctx, bool rtnl_held) return 0; } #else -static inline int hdd_open_p2p_interface(struct hdd_context_t *hdd_ctx, +static inline int hdd_open_p2p_interface(hdd_context_t *hdd_ctx, bool rtnl_held) { return 0;