]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: fix a bug when unload driver
authorGlen Lee <glen.lee@atmel.com>
Fri, 18 Dec 2015 09:26:02 +0000 (18:26 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:45:59 +0000 (14:45 -0800)
commit15e3689c8302b8ff4332b2aeb2a53759b0f5c90f
tree0dc3af5c74255e301da01624df7e82ee0bc8b97e
parent3e5acfdbc13b1603457533f8b2bf8a037522d7d6
staging: wilc1000: fix a bug when unload driver

kernel crashes when load and unload driver several times. I used git bisect to
track down and found that removing NULL setting caused the panic.
This reverts only related codes of the patch(94eb3c9c86c2).

Fixes: 94eb3c9c86c2 ("staging: wilc1000: replace drvHandler and hWFIDrv with hif_drv")
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c