]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Fix incorrectly named last_hop_metric variable in mesh_rx_path_sel_frame
authorAlexis Green <agreen@cococorp.com>
Fri, 5 Jun 2015 19:43:54 +0000 (12:43 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 9 Jun 2015 19:53:35 +0000 (21:53 +0200)
commita3e368e713fae6d6335174c03e844a8c5c551665
tree41cc3f82ecf3f6cfb5fad653569391f47fd46b2a
parentfa1ee34b7ed129c99efee97fa3737982b8154361
mac80211: Fix incorrectly named last_hop_metric variable in mesh_rx_path_sel_frame

The last hop metric should refer to link cost (this is how
hwmp_route_info_get uses it for example). But in mesh_rx_path_sel_frame
we are not dealing with link cost but with the total cost to the origin
of a PREQ or PREP.

Signed-off-by: Alexis Green <agreen@cococorp.com>
CC: Jesse Jones <jjones@cococorp.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_hwmp.c