On Sonntag, 17. Juni 2018 12:06:54 CEST Omer Efrat wrote: [...]
--- a/net/batman-adv/bat_v_elp.c +++ b/net/batman-adv/bat_v_elp.c @@ -114,7 +114,7 @@ static u32 batadv_v_elp_get_throughput(struct batadv_hardif_neigh_node *neigh) } if (ret) goto default_throughput;
if (!(sinfo.filled & BIT(NL80211_STA_INFO_EXPECTED_THROUGHPUT)))
if (!(sinfo.filled & BIT_ULL(NL80211_STA_INFO_EXPECTED_THROUGHPUT))) goto default_throughput;
return sinfo.expected_throughput / 100;
WARNING: line over 80 characters #32: FILE: net/batman-adv/bat_v_elp.c:117: + if (!(sinfo.filled & BIT_ULL(NL80211_STA_INFO_EXPECTED_THROUGHPUT)))
total: 0 errors, 1 warnings, 0 checks, 8 lines checked
Kind regards, Sven