ath6kl: fix ath6kl_data_tx()'s return type
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Tue, 24 Apr 2018 13:18:59 +0000 (15:18 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 27 Apr 2018 11:34:32 +0000 (14:34 +0300)
commit378b1d65070f3c989a662555eda8564cdd937b4a
treec51e3ca4db9978fb03a370ff41203b5934b7c630
parent4b190675ad06f5a6ecbeef0b01890c5fb372e3eb
ath6kl: fix ath6kl_data_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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath6kl/core.h
drivers/net/wireless/ath/ath6kl/txrx.c