aboutsummaryrefslogtreecommitdiff
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorGravatar Johannes Berg <johannes.berg@intel.com> 2022-06-29 12:01:41 +0200
committerGravatar Johannes Berg <johannes.berg@intel.com> 2022-07-15 11:43:17 +0200
commitab3a830d96644522eec0cd379cec46d854548b11 (patch)
treea963a1d5531eacfcc7235116674240b400249e4d /net/mac80211/ieee80211_i.h
parentwifi: mac80211: don't re-parse elems in ieee80211_assoc_success() (diff)
downloadlinux-ab3a830d96644522eec0cd379cec46d854548b11.tar.gz
linux-ab3a830d96644522eec0cd379cec46d854548b11.tar.bz2
linux-ab3a830d96644522eec0cd379cec46d854548b11.zip
wifi: mac80211: move tdls_chan_switch_prohibited to link data
This value should be per link, since a TDLS connection is only established on a given link. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 2cf13ea4c9f7..a8211ced719e 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -514,7 +514,6 @@ struct ieee80211_if_managed {
struct sk_buff *orig_teardown_skb; /* The original teardown skb */
struct sk_buff *teardown_skb; /* A copy to send through the AP */
spinlock_t teardown_lock; /* To lock changing teardown_skb */
- bool tdls_chan_switch_prohibited;
bool tdls_wider_bw_prohibited;
/* WMM-AC TSPEC support */
@@ -880,6 +879,8 @@ struct ieee80211_link_data_managed {
s16 p2p_noa_index;
+ bool tdls_chan_switch_prohibited;
+
bool have_beacon;
bool tracking_signal_avg;
bool disable_wmm_tracking;