]> git.karo-electronics.de Git - linux-beck.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)
commit8d59c4e993427df37fb8bfc3470c298194a68e7a
tree0d0a45cfb79552f9b3f48e5098450ec1a775ac25
parent1dae8d342e842cb9971f44d7b68580c7b9f26174
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