ath5k: fix return values from ath5k_tx
commit71ef99c8b79ab07e1c79794085481464f9870d62
authorBob Copeland <me@bobcopeland.com>
Tue, 6 Jan 2009 01:46:34 +0000 (5 20:46 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Jan 2009 19:24:57 +0000 (12 14:24 -0500)
tree3815d8c2fcf450b769c512dc19703fa1f8b38f53
parentd6e2be988d5146d1faa8df895cd8b32106d987bd
ath5k: fix return values from ath5k_tx

Should return NETDEV_TX_{OK,BUSY} instead of 0,-1 (this doesn't change
any current functionality).

Changes-licensed-under: 3-Clause-BSD

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/base.c