batman-adv: fix batadv_interface_tx()'s return type
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Tue, 24 Apr 2018 13:18:46 +0000 (15:18 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Wed, 25 Apr 2018 17:33:36 +0000 (19:33 +0200)
commit6bf9e4d39a582a4beea1844d6955cb2ebc979a67
treee7b09218e6124cce3b7074f79f9f64210c634024
parentdc06338df9a8443dcff6c7be03ab792ea682d9ab
batman-adv: fix batadv_interface_tx()'s return type

The method ndo_start_xmit() is defined as returning an 'netdev_tx_t',
which is a typedef for an enum type, but the implementation in this
driver returns an 'int'.

Fix this by returning 'netdev_tx_t' in this driver too.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
[sven@narfation.org: fixed alignment]
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/soft-interface.c