wlcore: release lock on error in wl1271_op_suspend()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 16 Apr 2012 10:57:02 +0000 (13:57 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 May 2012 21:53:24 +0000 (17:53 -0400)
commitcd840f6a0d6522e37c49def0eabb1e2134b68f1d
treef59d538646c525c05b62ac93a5a4631436d30b82
parentb95d7cef067e12926b6b69a9164cdea301dd6fc0
wlcore: release lock on error in wl1271_op_suspend()

We should release this lock before returning.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c