mac80211: Do not send mesh HWMP PREQ if HWMP is disabled
authorNicolas Cavallari <nicolas.cavallari@green-communications.fr>
Thu, 5 Mar 2020 14:04:09 +0000 (15:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Apr 2020 09:01:54 +0000 (11:01 +0200)
commit27030150699b534d80514bb1a580504dda1e6ef7
tree48da4c04c589672e868db6e039392e2465f9bc61
parent5ecb28b15678de689c7e40dc4c276f3eb29aabb5
mac80211: Do not send mesh HWMP PREQ if HWMP is disabled

[ Upstream commit ba32679cac50c38fdf488296f96b1f3175532b8e ]

When trying to transmit to an unknown destination, the mesh code would
unconditionally transmit a HWMP PREQ even if HWMP is not the current
path selection algorithm.

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Link: https://lore.kernel.org/r/20200305140409.12204-1-cavallar@lri.fr
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/mesh_hwmp.c