qcacmn: Remove static from nla_policy btc_chain_mode_policy

Remove static from nla_policy btc_chain_mode_policy in correspondence to
the change to add policy attribute to BTC_CHAIN_MODE vendor subcommand.

Change-Id: Ie33542199d27f6b9d8ea5e0a1a063b71ecb7fd94
CRs-Fixed: 2635059
This commit is contained in:
Alan Chen
2020-03-04 13:37:52 -08:00
committed by nshrivas
parent 31f4e86ecb
commit 5320ccb4d6
2 changed files with 5 additions and 1 deletions

View File

@@ -23,6 +23,10 @@
#include <wlan_cfg80211.h>
#include <wlan_objmgr_cmn.h>
extern const struct nla_policy
btc_chain_mode_policy
[QCA_VENDOR_ATTR_BTC_CHAIN_MODE_MAX + 1];
#ifdef FEATURE_COEX
int wlan_cfg80211_coex_set_btc_chain_mode(struct wlan_objmgr_vdev *vdev,
const void *data, int data_len);

View File

@@ -25,7 +25,7 @@
#include <wlan_coex_ucfg_api.h>
#include <wlan_cfg80211_coex.h>
static const struct nla_policy
const struct nla_policy
btc_chain_mode_policy[QCA_VENDOR_ATTR_BTC_CHAIN_MODE_MAX + 1] = {
[QCA_VENDOR_ATTR_BTC_CHAIN_MODE] = {.type = NLA_U32},
[QCA_VENDOR_ATTR_BTC_CHAIN_MODE_RESTART] = {.type = NLA_FLAG},