rt2x00: rt2800usb: schedule txdone work on timeout
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 19 Mar 2012 08:39:45 +0000 (09:39 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Mar 2012 19:07:27 +0000 (15:07 -0400)
commitb9fc106108f3faf2e4430c3bd5721677c3d6a4a1
tree8836fc8bfb3bc7973f86e0c4c03f198ad0f20e78
parentb603c03e9534b9bec19ebf8c42bf217fd875ee65
rt2x00: rt2800usb: schedule txdone work on timeout

This is fix for my current commit
ed61e2b02027935520d1be884fac0b2ffce8379a
"rt2x00: rt2800usb: rework txdone code"

We should schedule txdone work on timeout, otherwise if newer get
tx status from hardware, we will never report tx status to mac80211
and eventually never wakeup tx queue.

Reported-by: Jakub Kicinski <moorray@wp.pl>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800usb.c