diff options
author | Cédric Cabessa <ced@ryick.net> | 2014-03-26 17:49:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-18 16:07:42 -0700 |
commit | f2ca407b9677eb24e824dc78586d102d8c57f37d (patch) | |
tree | 9769e6bb9ca665b972591ec5ab0e8dfacb7f7e26 /drivers/staging/vt6655 | |
parent | eb0eb66846bbd19b2154e7902386061f0bcd17f5 (diff) | |
download | blackbird-op-linux-f2ca407b9677eb24e824dc78586d102d8c57f37d.tar.gz blackbird-op-linux-f2ca407b9677eb24e824dc78586d102d8c57f37d.zip |
staging: vt6655,vt6656: fix sparse error "unexpected unlock"
Signed-off-by: Cédric Cabessa <ced@ryick.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655')
-rw-r--r-- | drivers/staging/vt6655/wpactl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/vt6655/wpactl.c b/drivers/staging/vt6655/wpactl.c index d17224f39b4d..9f0715cc6367 100644 --- a/drivers/staging/vt6655/wpactl.c +++ b/drivers/staging/vt6655/wpactl.c @@ -188,7 +188,8 @@ int wpa_set_wpadev(PSDevice pDevice, int val) * */ -int wpa_set_keys(PSDevice pDevice, void *ctx, bool fcpfkernel) +int wpa_set_keys(PSDevice pDevice, void *ctx, + bool fcpfkernel) __must_hold(&pDevice->lock) { struct viawget_wpa_param *param = ctx; PSMgmtObject pMgmt = pDevice->pMgmt; |