On Monday, November 09, 2015 22:04:20 Sven Eckelmann wrote:
From: Sven Eckelmann sven@open-mesh.com
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
v2: add kerneldoc for description
net/batman-adv/gateway_common.c | 117 +++++++++++++++++----------------------- 1 file changed, 49 insertions(+), 68 deletions(-)
Applied in revision 348a5da.
Thanks, Marek