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)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 27 Nov 2017 10:24:26 +0000 (11:24 +0100)
commitfbbdad5edf0bb59786a51b94a9d006bc8c2da9a2
tree9d77930d7af81e4d47e73bd5269186fb859f9a92
parent7b6ddeaf27eca72795ceeae2f0f347db1b5f9a30
mac80211: fix the update of path metric for RANN frame

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