staging: rtl8712: fix double lock bug in SetPSModeWorkItemCallback()
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 15 Sep 2016 10:12:05 +0000 (10:12 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Sep 2016 08:05:13 +0000 (10:05 +0200)
commit4db7c0bebdff87e1c81ed4fbafc65cddec109e3d
treeaeaae4b8ec07da07e6aab96812d144b5d2d26da2
parente30ed33d197ccabfb7b46a6b1354a2fdfb546c8f
staging: rtl8712: fix double lock bug in SetPSModeWorkItemCallback()

Fix a double lock bug in SetPSModeWorkItemCallback().

Fixes: 5c2ba8b85e35 ("rtl8712: pwrctrl_priv: Replace semaphore lock with mutex")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_pwrctrl.c