summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/wil6210/wil6210.h
diff options
context:
space:
mode:
authorLior David <qca_liord@qca.qualcomm.com>2017-12-14 18:53:13 +0200
committerKalle Valo <kvalo@codeaurora.org>2018-01-09 10:03:38 +0200
commit7d3e4dbe570e79940624ff46387e34db741dcb5c (patch)
tree0ffebeea8f8c54e2ed01686b69c904dfba9b2fb6 /drivers/net/wireless/ath/wil6210/wil6210.h
parent83957bc3aeaf8e6d1b7917ce4ebe943e5d48dc4c (diff)
downloadop-kernel-dev-7d3e4dbe570e79940624ff46387e34db741dcb5c.zip
op-kernel-dev-7d3e4dbe570e79940624ff46387e34db741dcb5c.tar.gz
wil6210: remove reference to preset_chandef
The field preset_chandef of wireless_dev must not be accessed by the driver because it is private to cfg80211. Store the monitor channel locally in wil6210_priv instead. Signed-off-by: Lior David <qca_liord@qca.qualcomm.com> Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/wil6210.h')
-rw-r--r--drivers/net/wireless/ath/wil6210/wil6210.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/wil6210/wil6210.h b/drivers/net/wireless/ath/wil6210/wil6210.h
index da0b28c..0a0766b 100644
--- a/drivers/net/wireless/ath/wil6210/wil6210.h
+++ b/drivers/net/wireless/ath/wil6210/wil6210.h
@@ -655,6 +655,7 @@ struct wil6210_priv {
unsigned long last_fw_recovery; /* jiffies of last fw recovery */
wait_queue_head_t wq; /* for all wait_event() use */
/* profile */
+ struct cfg80211_chan_def monitor_chandef;
u32 monitor_flags;
u32 privacy; /* secure connection? */
u8 hidden_ssid; /* relevant in AP mode */
OpenPOWER on IntegriCloud