commit | 6bf9e4d39a582a4beea1844d6955cb2ebc979a67 | [log] [tgz] |
---|---|---|
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | Tue Apr 24 15:18:46 2018 +0200 |
committer | Simon Wunderlich <sw@simonwunderlich.de> | Wed Apr 25 19:33:36 2018 +0200 |
tree | e7b09218e6124cce3b7074f79f9f64210c634024 | |
parent | dc06338df9a8443dcff6c7be03ab792ea682d9ab [diff] |
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>