Browse Source

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
Dustin Brown 7 years ago
parent
commit
a46d9c69f2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      utils/fwlog/dbglog_host.c

+ 1 - 0
utils/fwlog/dbglog_host.c

@@ -48,6 +48,7 @@
 
 #ifdef CNSS_GENL
 #include <net/cnss_nl.h>
+#include "wlan_cfg80211.h"
 #endif
 
 #ifdef MULTI_IF_NAME