wl12xx: flush all Tx queues on tx_flush timeout
authorArik Nemtsov <arik@wizery.com>
Mon, 27 Feb 2012 22:41:32 +0000 (00:41 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 28 Feb 2012 11:25:09 +0000 (13:25 +0200)
commit18aa755b84715f36e2811734f95cb822bcacfd89
treea6db34428a267d3f453a9d38dd4009bda54ca6c0
parent49c9cd26445aa8bc8348c384c943b758c57c47a9
wl12xx: flush all Tx queues on tx_flush timeout

Ensure our queues are empty at the end of a tx_flush(), in case we
timeout on passively waiting for them. This makes sure no left-overs are
transmitted when we are on the wrong channel.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/tx.c