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)
commit6f72ed75e5c572640ca45b439f27ffbb0a50e8c8
treeb445fd79234b69b6d45333dbdb88f293ac89fee9
parentc2ba8b2bc232721e8bddd86bfe22503b0bf5f2e5
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: 8b8ad7bc90bc ("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