wl1251: move all transmission to happen in tx_work
authorYuri Ershov <ext-yuri.ershov@nokia.com>
Wed, 27 Oct 2010 13:34:39 +0000 (17:34 +0400)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 31 Oct 2010 20:10:34 +0000 (22:10 +0200)
commit90c816b6658b715d151f0706c1ef73a77c5d703b
tree2b8275fbcc5479a25534e3d9943b82e196516518
parent91f3c70243daf1c08f374f3aab873d70ea717106
wl1251: move all transmission to happen in tx_work

Currently TX queue is consumed both in wl->tx_work and in wl->irq_work.
This was problematic with the PS-Poll implementation, and caused stalls
because of synchronisation issues between the workqueues. Fix that by
consuming TX queue only in TX work.

Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: Yuri Ershov <ext-yuri.ershov@nokia.com>
drivers/net/wireless/wl12xx/wl1251_tx.c