diff options
author | Sujith Manoharan <Sujith.Manoharan@atheros.com> | 2011-04-13 05:55:59 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-13 19:24:08 (GMT) |
commit | b587fc81a80b9656f64e89fe0a106ffa4b35abca (patch) | |
tree | 1945232f9c8adad3810229249f5e6aa5ca0f9057 /drivers/net/eql.c | |
parent | f2820f4583b233827f10d91adea70225e196d852 (diff) | |
download | linux-b587fc81a80b9656f64e89fe0a106ffa4b35abca.tar.xz |
ath9k_htc: Drain pending TX frames properly
When doing a channel set or a reset operation the pending
frames queued up for transmission have to be flushed and
sent to mac80211. Fixing this has to be done in two separate
steps:
* Flush queued frames and kill the URB TX completion handler.
* Complete all the frames that in the TX pending queue.
This patch adds proper support for draining and all the callsites
namely, channel change/reset/idle/stop are fixed. A separate queue
is used for handling failed frames.
Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/eql.c')
0 files changed, 0 insertions, 0 deletions