summaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorPeter Oh <peter.oh@bowerswilkins.com>2018-01-26 14:02:37 -0800
committerJohannes Berg <johannes.berg@intel.com>2018-01-31 12:39:10 +0100
commitc4de37ee2b55deac7d6aeac33e02e3d6be243898 (patch)
tree60d27e43a9eb5de6039cf37fc5983ffc3c095338 /net/mac80211/ieee80211_i.h
parentc028c6309a9f9b385ba8c0c984eb2b6c3f368650 (diff)
downloadop-kernel-dev-c4de37ee2b55deac7d6aeac33e02e3d6be243898.zip
op-kernel-dev-c4de37ee2b55deac7d6aeac33e02e3d6be243898.tar.gz
mac80211: mesh: fix wrong mesh TTL offset calculation
mesh TTL offset in Mesh Channel Switch Parameters element depends on not only Secondary Channel Offset element, but also affected by HT Control field and Wide Bandwidth Channel Switch element. So use element structure to manipulate mesh channel swich param IE after removing its constant attribution to correct the miscalculation. Signed-off-by: Peter Oh <peter.oh@bowerswilkins.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 885d00b..61db1fb 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -1467,7 +1467,7 @@ struct ieee802_11_elems {
const struct ieee80211_timeout_interval_ie *timeout_int;
const u8 *opmode_notif;
const struct ieee80211_sec_chan_offs_ie *sec_chan_offs;
- const struct ieee80211_mesh_chansw_params_ie *mesh_chansw_params_ie;
+ struct ieee80211_mesh_chansw_params_ie *mesh_chansw_params_ie;
const struct ieee80211_bss_max_idle_period_ie *max_idle_period_ie;
/* length of them, respectively */
OpenPOWER on IntegriCloud