OSDN Git Service

mac80211: fix the update of path metric for RANN frame
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Tue, 14 Nov 2017 15:20:05 +0000 (23:20 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Feb 2018 16:05:37 +0000 (17:05 +0100)
commit030d4676a2681a0656c205a9e58b9624a74a16f4
tree90a7430b6ddda5b2e8b0b887cb39a7da10efd3c5
parent03899a46c223510160632e991bad3ad234da386d
mac80211: fix the update of path metric for RANN frame

[ Upstream commit fbbdad5edf0bb59786a51b94a9d006bc8c2da9a2 ]

The previous path metric update from RANN frame has not considered
the own link metric toward the transmitting mesh STA. Fix this.

Reported-by: Michael65535
Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/mesh_hwmp.c