瀏覽代碼

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 年之前
父節點
當前提交
a46d9c69f2
共有 1 個文件被更改,包括 1 次插入0 次删除
  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