ath5k: properly drop packets from ops->tx
authorBob Copeland <me@bobcopeland.com>
Tue, 24 Mar 2009 03:35:37 +0000 (23:35 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:13:19 +0000 (20:13 -0400)
commit5a0fe8ac70f81b5b91156736066e6445d0dcc61f
treea348f244f66a5a594e08dccdaefd7d97d0472e8e
parentde00c04ecbb482507ace2197782123446a1cfdca
ath5k: properly drop packets from ops->tx

We shouldn't return NETDEV_TX_BUSY from the TX callback, especially
after we've mucked with the sk_buffs.  Drop the packets and return
NETDEV_TX_OK.

Changes-licensed-under: 3-Clause-BSD

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