diff mbox

[32/32] staging: wilc1000: fix kernel fail after ifconfig wlan0 up

Message ID 20150930100512.GE7340@mwanda (mailing list archive)
State Not Applicable
Delegated to: Kalle Valo
Headers show

Commit Message

Dan Carpenter Sept. 30, 2015, 10:05 a.m. UTC
Ugh...  No.  Just do this:

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/staging/wilc1000/wilc_msgqueue.c b/drivers/staging/wilc1000/wilc_msgqueue.c
index 869736a..52d8f95 100644
--- a/drivers/staging/wilc1000/wilc_msgqueue.c
+++ b/drivers/staging/wilc1000/wilc_msgqueue.c
@@ -102,6 +102,8 @@  int wilc_mq_send(WILC_MsgQueueHandle *pHandle,
 
 	up(&pHandle->hSem);
 
+	return 0;
+
 ERRORHANDLER:
 	/* error occured, free any allocations */
 	if (pstrMessage) {