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)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 11 Mar 2020 08:04:14 +0000 (09:04 +0100)
commitba32679cac50c38fdf488296f96b1f3175532b8e
tree8730ccaaccfa7ab6cbd865a008fa17cf894fb981
parent5cde05c61cbe13cbb3fa66d52b9ae84f7975e5e6
mac80211: Do not send mesh HWMP PREQ if HWMP is disabled

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>
net/mac80211/mesh_hwmp.c