]> git.karo-electronics.de Git - linux-beck.git/commit
rt2x00: Introduce beacon_update_locked that requires caller locking
authorHelmut Schaa <helmut.schaa@googlemail.com>
Sun, 30 Jan 2011 12:16:28 +0000 (13:16 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 31 Jan 2011 20:06:22 +0000 (15:06 -0500)
commit8414ff07ac8802e282683812514ef5b0ea133cb8
treee66fb2450d04f68e6455d0341ebb3ce100535d7d
parent69cf36a4523be026bc16743c5c989c5e82edb7d9
rt2x00: Introduce beacon_update_locked that requires caller locking

Introduce a beacon_update_locked function that does not acquire the
according beacon mutex to allow beacon updates from atomic context. The
caller has to take care of synchronization.

No functional changes. Just preparation for beacon updates from tasklet
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/rt2x00lib.h
drivers/net/wireless/rt2x00/rt2x00queue.c