]> 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)
commit33d397fdc148ddbd1da86b5eeda5aabf27320dbd
tree0dc3af5c74255e301da01624df7e82ee0bc8b97e
parentad11dfb1fd1291408ccb3772b10f841fe882cbb3
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(926b1555e71a).

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