[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-wireless
Subject:    RE: [PATCH 32/32] staging: wilc1000: fix kernel fail after ifconfig wlan0 up
From:       "Kim, Leo" <Leo.Kim () atmel ! com>
Date:       2015-09-30 12:21:19
Message-ID: 74F3875218FC364C9618AB19CB60E9057670C1D4 () penmbx02 ! corp ! atmel ! com
[Download RAW message or body]

Dear Dan,

Thank you! 
Always helpful your advice listen carefully.

I will send in the morning.

 Thanks, BR
 Leo

-----Original Message-----
From: Dan Carpenter [mailto:dan.carpenter@oracle.com] 
Sent: Wednesday, September 30, 2015 7:05 PM
To: Cho, Tony
Cc: gregkh@linuxfoundation.org; devel@driverdev.osuosl.org; Kim, Rachel; Park, Chris; \
Shin, Austin; linux-wireless@vger.kernel.org; Kim, Johnny; Ferre, Nicolas; Noureldin, \
                Adel; Kim, Leo; Abozaeid, Adham
Subject: Re: [PATCH 32/32] staging: wilc1000: fix kernel fail after ifconfig wlan0 up

Ugh...  No.  Just do this:

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) {
--
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic