]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mac80211: fix channel switch trigger from unknown mesh peer
authorTamizh chelvam <tamizhr@codeaurora.org>
Sat, 28 Mar 2020 13:53:24 +0000 (19:23 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 15 Apr 2020 07:54:26 +0000 (09:54 +0200)
commit93e2d04a1888668183f3fb48666e90b9b31d29e6
tree9d742c8b081a3ffef0f6239204b381aaabe833ec
parent52e04b4ce5d03775b6a78f3ed1097480faacc9fd
mac80211: fix channel switch trigger from unknown mesh peer

Previously mesh channel switch happens if beacon contains
CSA IE without checking the mesh peer info. Due to that
channel switch happens even if the beacon is not from
its own mesh peer. Fixing that by checking if the CSA
originated from the same mesh network before proceeding
for channel switch.

Signed-off-by: Tamizh chelvam <tamizhr@codeaurora.org>
Link: https://lore.kernel.org/r/1585403604-29274-1-git-send-email-tamizhr@codeaurora.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh.c