iwlwifi: unlock on error path
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 Jun 2012 18:35:26 +0000 (21:35 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 14 Jun 2012 18:55:14 +0000 (14:55 -0400)
commitdaf67ce8cffd148308ae15c25fb06c1fc20c88f1
tree56f72c921204ad6da13f8aa21cd4e26bde0517e9
parent211c17aaee644bb808fbdeef547ac99db92c01ed
iwlwifi: unlock on error path

We introduced a lock here in ff1ffb850b ("iwlwifi: fix dynamic
loading").  But we missed an error path which needs an unlock.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-drv.c