wl1271: add missing spin_lock()
commitcdd0864a495a4c6a6f60cae854ca962cfa1f1026
authorDan Carpenter <error27@gmail.com>
Sat, 8 May 2010 16:25:17 +0000 (8 18:25 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 11 May 2010 19:14:20 +0000 (11 15:14 -0400)
tree7c11948f84fdfd877c3603ec15fd08aed59a3ccf
parentdb125c787bc2c07ad97ba94707b653885d723a40
wl1271: add missing spin_lock()

We should start the loop consistently with the "wl_lock" lock held.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1271_main.c