]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: Make periodic beacon updates for PCI devices atomic
authorHelmut Schaa <helmut.schaa@googlemail.com>
Sun, 30 Jan 2011 12:17:29 +0000 (13:17 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 31 Jan 2011 20:06:22 +0000 (15:06 -0500)
commit24f78c0a1f0463d72eab1e13d8956faeda0775bf
tree0d0a45cfb79552f9b3f48e5098450ec1a775ac25
parent2ea3341e078cbc3d8f0a134472d92c0246fde9c7
rt2x00: Make periodic beacon updates for PCI devices atomic

Allow the beacondone and pretbtt functions to update the beacon from
atomic context by using the beacon update functions with caller locking.

This is a preparation for moving the periodic beacon handling into
tasklets that require atomic context.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.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