]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: fix rmmod failure
authorGlen Lee <glen.lee@atmel.com>
Wed, 25 Nov 2015 02:59:40 +0000 (11:59 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:40:57 +0000 (14:40 -0800)
commit55566ef999343c42589b8664bd2a0c6e1cb313df
treeb445fd79234b69b6d45333dbdb88f293ac89fee9
parent95af214cc9b355bf179302b9fe4e1bed9cab4d61
staging: wilc1000: fix rmmod failure

This patch fixes rmmod failure. wilc->firmware needs to be set to NULL because
it is used again to check firmware is released when module exit.

Fixes: aca0af874bf9 ("staging: wilc1000: rename wilc_firmware in the struct wilc")
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c