OSDN Git Service

rt2x00: Allow beacon update without scheduling a work
authorHelmut Schaa <helmut.schaa@googlemail.com>
Sun, 11 Jul 2010 10:27:26 +0000 (12:27 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 12 Jul 2010 20:05:34 +0000 (16:05 -0400)
commit4dee32f51b0beba25a70e8011652858c6e55f792
treeea8ae3b056c4af58435f4e4f9c591ea24b612644
parent78e256c9a3717bcae2e9ed05c9ec7bed7bf2c55d
rt2x00: Allow beacon update without scheduling a work

Since all rt2x00 PCI drivers use threaded interrupts now we don't need
to schedule a work just to update the beacon. The only place where the
beacon still gets updated in atomic context is from the set_tim
callback. Hence, move the work scheduling there.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00dev.c
drivers/net/wireless/rt2x00/rt2x00mac.c