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
This commit is contained in:
Dustin Brown
2017-09-19 14:45:42 -07:00
committed by snandini
부모 ce76a35340
커밋 a46d9c69f2

파일 보기

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