From 387298825a06eceea57814ff2fc73975f4c1ba61 Mon Sep 17 00:00:00 2001 From: Alan Chen Date: Wed, 9 Sep 2020 11:30:09 -0700 Subject: [PATCH] qcacld-3.0: Add declaration for btc_chain_mode_policy The BTC_CHAIN_MODE command policy table is missing its declaration in the .h file. Add the declaration to resolve the compilation issues. Change-Id: I5bdd54dc9c3488054bafabd772f4f8b375fe50fa CRs-Fixed: 2773241 --- core/hdd/src/wlan_hdd_btc_chain_mode.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/hdd/src/wlan_hdd_btc_chain_mode.h b/core/hdd/src/wlan_hdd_btc_chain_mode.h index c7e6cc38e959e..71ebda6e4ea4f 100644 --- a/core/hdd/src/wlan_hdd_btc_chain_mode.h +++ b/core/hdd/src/wlan_hdd_btc_chain_mode.h @@ -48,6 +48,9 @@ int wlan_hdd_cfg80211_set_btc_chain_mode(struct wiphy *wiphy, struct wireless_dev *wdev, const void *data, int data_len); +extern const struct nla_policy +btc_chain_mode_policy[QCA_VENDOR_ATTR_BTC_CHAIN_MODE_MAX + 1]; + #define FEATURE_BTC_CHAIN_MODE_COMMANDS \ { \ .info.vendor_id = QCA_NL80211_VENDOR_ID, \