Skip to content
Commit c4de37ee authored by Peter Oh's avatar Peter Oh Committed by Johannes Berg
Browse files

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: default avatarPeter Oh <peter.oh@bowerswilkins.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent c028c630
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment