]> git.baikalelectronics.ru Git - kernel.git/commit
wl12xx: Handle duplicate calling of remove interface
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>
Tue, 29 Mar 2011 13:43:50 +0000 (16:43 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 19 Apr 2011 13:49:15 +0000 (16:49 +0300)
commitba9babca22b3dded6fceccc49461bcffe7c783ed
tree8d5e0fa75e0de15dee632854aa20db3be41de4cf
parent6bbb6ecc58970344f13b0c15a16730ad95274c5c
wl12xx: Handle duplicate calling of remove interface

Because of the hardware recovery mechanism, its possible the
__wl1271_op_remove_interface is called twice. Currently, this leads to a
kernel crash even before a kernel WARNing can be issued.

Fix this.

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