summaryrefslogtreecommitdiff
path: root/net/batman-adv/network-coding.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2015-09-13 09:44:45 +0200
committerAntonio Quartulli <a@unstable.cc>2016-01-09 20:56:00 +0800
commitd737ccbed3e62dd45d631cf69183de005144d05b (patch)
tree474b03d8571a2746c227b7f8d8f68e0d7e7eb059 /net/batman-adv/network-coding.c
parent9e728e84389ba8317d1444bdf256e34ad467f3da (diff)
batman-adv: Add function to convert string to batadv throughput
The code to convert the throughput information from a string to the batman-adv internal (100Kibit/s) representation is duplicated in batadv_parse_gw_bandwidth. Move this functionality to its own function batadv_parse_throughput to reduce the code complexity. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Antonio Quartulli <a@unstable.cc>
Diffstat (limited to 'net/batman-adv/network-coding.c')
0 files changed, 0 insertions, 0 deletions