wl12xx: lock the RCU when accessing sta via ieee80211_find_sta()
authorLuciano Coelho <coelho@ti.com>
Tue, 11 Jan 2011 18:07:21 +0000 (19:07 +0100)
committerLuciano Coelho <coelho@ti.com>
Mon, 24 Jan 2011 20:11:52 +0000 (22:11 +0200)
We were calling ieee80211_find_sta() and the sta returned by it
without locking the RCU, which is required by mac80211.

Fix this and reorganize slightly the area of the code where the sta is
used.

Reported-by: Jonathan DE CESCO <jonathanc@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>

No differences found