From a46d9c69f2c3165de88534874a704e35a91a8109 Mon Sep 17 00:00:00 2001 From: Dustin Brown Date: Tue, 19 Sep 2017 14:45:42 -0700 Subject: [PATCH] qcacmn: Fix compilation issue when CNSS_GENL is enabled A recent change added a wrapper to nla_parse. When CNSS_GENL is enabled, this new wrapper API is not defined in cnss_diag_cmd_handler, causing a compilation failure. Include the appropriate header file when CNSS_GENL is enabled. Change-Id: I2e929b48e306fb1426eb6e59011cd821922bb8dd CRs-Fixed: 2112767 --- utils/fwlog/dbglog_host.c | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/fwlog/dbglog_host.c b/utils/fwlog/dbglog_host.c index 63b242b3db90..8bb4634d4092 100644 --- a/utils/fwlog/dbglog_host.c +++ b/utils/fwlog/dbglog_host.c @@ -48,6 +48,7 @@ #ifdef CNSS_GENL #include +#include "wlan_cfg80211.h" #endif #ifdef MULTI_IF_NAME