mwifiex: fix mwifiex_hard_start_xmit()'s return type
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Tue, 24 Apr 2018 13:18:02 +0000 (15:18 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 30 Apr 2018 10:23:10 +0000 (13:23 +0300)
commitc126e1995f79fb487aa99bbead0f23716b43db01
tree3216fc4be1ac1088f4505610bc2ad78fa9cb5ff4
parent95135e8c0b4add86d3ce1ab5a24881b673c2db04
mwifiex: fix mwifiex_hard_start_xmit()'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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/main.c