wl12xx: Add mutex protection for interface list
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>
Mon, 21 Mar 2011 08:43:36 +0000 (10:43 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 19 Apr 2011 13:49:08 +0000 (16:49 +0300)
commitf9f774c17e19da6f98bd7b57527f55d0ec920fce
tree36fd1289b962be547b277fab6253af99bff4205d
parent1d732e8cf3dcc09d7c862b6c12f876533529073d
wl12xx: Add mutex protection for interface list

The interface list maintained in main.c is not mutex protected. This could
cause issues, as the list is accessed from notifier chains.

Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c