]> git.baikalelectronics.ru Git - kernel.git/commit
wl12xx: avoid blocking while holding rcu lock on bss info change
authorArik Nemtsov <arik@wizery.com>
Sat, 12 Feb 2011 21:24:20 +0000 (23:24 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 22 Feb 2011 16:06:36 +0000 (18:06 +0200)
commitd2263eab43ac5109aa49a28cd4ce713969ab5595
tree554a0aac55b22fa5760b9c58979a976a247f717d
parent541de39ee7431057ca05e1fe4d5641963c9945dd
wl12xx: avoid blocking while holding rcu lock on bss info change

Some blocking functions were called while holding the rcu lock for
accessing STA information. This can lead to a deadlock.

Save the required info beforehand and release the rcu without
blocking.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c