Repository : ssh://git@open-mesh.org/batman-adv
On branch : master
commit 7f8f8e5e35a7a17ce3987f7bb31083da0986b2f8 Author: Sven Eckelmann sven@narfation.org Date: Fri Dec 13 08:18:35 2019 +0100
batman-adv: Avoid comment line over 80 characters
Fixes: dcb63377d9de ("batman-adv: ELP - use wifi tx bitrate as fallback throughput") Signed-off-by: Sven Eckelmann sven@narfation.org
7f8f8e5e35a7a17ce3987f7bb31083da0986b2f8 net/batman-adv/bat_v_elp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/net/batman-adv/bat_v_elp.c b/net/batman-adv/bat_v_elp.c index 1e852d4b..6536e8cc 100644 --- a/net/batman-adv/bat_v_elp.c +++ b/net/batman-adv/bat_v_elp.c @@ -111,7 +111,9 @@ static u32 batadv_v_elp_get_throughput(struct batadv_hardif_neigh_node *neigh) if (sinfo.filled & BIT(NL80211_STA_INFO_EXPECTED_THROUGHPUT)) return sinfo.expected_throughput / 100;
- /* try to estimate en expected throughput based on reported tx rates */ + /* try to estimate the expected throughput based on reported tx + * rates + */ if (sinfo.filled & BIT(NL80211_STA_INFO_TX_BITRATE)) return cfg80211_calculate_bitrate(&sinfo.txrate) / 3;