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)
commita100885d9dfd8685e0b4e442afc9041ee4c90586
tree554a0aac55b22fa5760b9c58979a976a247f717d
parent92fe9b5f112c77dbb63f42f7bed885d709586106
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