mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacmn: Remove static from nla_policy spectral_scan_policy
Remove static from nla_policy spectral_scan_policy in correspondence to the change to add policy attribute to SPECTRAL_SCAN vendor subcommand. Change-Id: I764a51f5c1355cb0c3dd2096e6dc7ee332b2f3d6 CRs-Fixed: 2634075
This commit is contained in:
parent
b1d228b9aa
commit
31f4e86ecb
2 changed files with 6 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2017, 2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017, 2019-2020 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
|
|
@ -32,6 +32,10 @@
|
|||
#include <spectral_ioctl.h>
|
||||
#include <wlan_spectral_public_structs.h>
|
||||
|
||||
extern const struct nla_policy
|
||||
spectral_scan_policy
|
||||
[QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_MAX + 1];
|
||||
|
||||
#define CONFIG_REQUESTED(type) ((type == \
|
||||
QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_REQUEST_TYPE_SCAN_AND_CONFIG) || \
|
||||
(type == QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_REQUEST_TYPE_CONFIG))
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
#include <wlan_cfg80211_spectral.h>
|
||||
#include <spectral_ioctl.h>
|
||||
|
||||
static const struct nla_policy spectral_scan_policy[
|
||||
const struct nla_policy spectral_scan_policy[
|
||||
QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_MAX + 1] = {
|
||||
[QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_SCAN_COUNT] = {
|
||||
.type = NLA_U32},
|
||||
|
|
|
|||
Loading…
Reference in a new issue