rt2x00mac: In error case stop netdev queue, free skb and return NETDEV_TX_OK
authorDaniel Wagner <wagi@monom.org>
Wed, 23 Jul 2008 17:17:01 +0000 (19:17 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 22 Aug 2008 20:29:49 +0000 (16:29 -0400)
commitb9740c2396851178b99c03c2260a0adfe7f52e36
tree98298f26d0de663a2f1c076104305c8ddf22c9f0
parent8e5f3d0aaa3ae5305613553f869727b0361cd472
rt2x00mac: In error case stop netdev queue, free skb and return NETDEV_TX_OK

It is not allowed to use NETDEV_TX_BUSY in tx path anymore.

Signed-off-by: Daniel Wagner <wagi@monom.org>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00mac.c