iwlwifi: missing unlock on error path
authorDan Carpenter <error27@gmail.com>
Tue, 15 Mar 2011 07:01:58 +0000 (10:01 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Mar 2011 19:17:14 +0000 (15:17 -0400)
commitf8a22a2b165c79a46e275097fcadab7fd151c504
tree633673896dd5d4feac2e2c99818eb885c5d9c55d
parent9011cd250e26d9159943895adf29453af1b93298
iwlwifi: missing unlock on error path

We should unlock here instead of returning -EINVAL directly.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c