From 3997f31661e5ecfec035298ada70e17c17b039d3 Mon Sep 17 00:00:00 2001 From: Kevin McKinney Date: Tue, 22 Nov 2011 20:25:56 -0500 Subject: [PATCH] --- yaml --- r: 281045 b: refs/heads/master c: abe33fc0933f9221193fc047fbf93cf9db23c8f6 h: refs/heads/master i: 281043: e44a0a7b970df4b3df57516ded77e4845eb3a7ef v: v3 --- [refs] | 2 +- trunk/drivers/staging/bcm/Bcmchar.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index de42e4349141..3657857757ad 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 77121d52a4de5e06c0b37d7e2fb9f6060904ecca +refs/heads/master: abe33fc0933f9221193fc047fbf93cf9db23c8f6 diff --git a/trunk/drivers/staging/bcm/Bcmchar.c b/trunk/drivers/staging/bcm/Bcmchar.c index 1bf28c95ef85..5a3e7c846a3e 100644 --- a/trunk/drivers/staging/bcm/Bcmchar.c +++ b/trunk/drivers/staging/bcm/Bcmchar.c @@ -796,6 +796,7 @@ static long bcm_char_ioctl(struct file *filp, UINT cmd, ULONG arg) if (!down_trylock(&Adapter->fw_download_sema)) { BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Invalid way to download buffer. Use Start and then call this!!!\n"); + up(&Adapter->fw_download_sema); Status = -EINVAL; break; }