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)
commitcc28e4bf6e5279728c4b03497e95b9a5f5054f9c
tree0dc3af5c74255e301da01624df7e82ee0bc8b97e
parentc8751ad7d22459b973b26c5bd37b444cf77d6412
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(a4ab1ade75a3).

Fixes: a4ab1ade75a3 ("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