]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Return EINVAL on invalid gw_bandwidth change
authorSven Eckelmann <sven@narfation.org>
Sun, 21 Jun 2015 12:42:49 +0000 (14:42 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Mon, 24 Aug 2015 22:12:21 +0000 (00:12 +0200)
commit6eb8c874c59f46c2add2da84ddb15deaad8ec116
tree15a4c680aeecebfeea3517da29b2dc764f28ce81
parentda0528190c137f5ba6250fad8ef90370ee20fc9c
batman-adv: Return EINVAL on invalid gw_bandwidth change

Invalid speed settings by the user are currently acknowledged as correct
but not stored. Instead the return of the store operation of the file
"gw_bandwidth" should indicate that the given value is not acceptable.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
net/batman-adv/gateway_common.c