wl12xx: send all pending packets on channel change
authorEliad Peller <eliad@wizery.com>
Thu, 15 Sep 2011 10:00:01 +0000 (13:00 +0300)
committerLuciano Coelho <coelho@ti.com>
Fri, 23 Sep 2011 11:38:49 +0000 (14:38 +0300)
commitc6930b07b3d0a8c529e1d9287bd5994319cf447d
treecc9ce9e593092f26892ec47a57d0d8d3d23420e8
parent26b4bf2e0f0dbafa4dd575b03ffcb12710ef5611
wl12xx: send all pending packets on channel change

There is a race condition between wl1271_tx_work() and the
channel switch, so make sure all the pending packets are
being sent before switching channel.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c