]> git.baikalelectronics.ru Git - kernel.git/commit
wl12xx: use freezable workqueue for netstack_work
authorEliad Peller <eliad@wizery.com>
Tue, 7 Jun 2011 09:50:46 +0000 (12:50 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 27 Jun 2011 10:56:14 +0000 (13:56 +0300)
commitb084fa7a05ea84508b4caa8bdcd1a104af901eb6
tree3554b6b9684c7fe5cfabdb9ea15a9dd2d3640f50
parent4911dbde48d8afdd7677d3db1f4d2fccc06a72d3
wl12xx: use freezable workqueue for netstack_work

When resuming (after wowlan), we want the rx packets (which is
usually the wake-up packet itself) to be passed to mac80211 only
after the resume notifier was completed, and mac80211 is up and
running (otherwise, the packets will be dropped).

By enqueueing the netstack_work to a freezable workqueue, we can
guarantee the rx processing to occur only after mac80211 was resumed.

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