From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Date: Tue, 7 May 2013 16:59:06 +0300 Subject: [ath9k-devel] [PATCH 6/7] ath10k: cleanup pci suspend In-Reply-To: <1367847974-11209-7-git-send-email-michal.kazior@tieto.com> (Michal Kazior's message of "Mon, 6 May 2013 15:46:13 +0200") References: <1367847974-11209-1-git-send-email-michal.kazior@tieto.com> <1367847974-11209-7-git-send-email-michal.kazior@tieto.com> Message-ID: <877gja51sl.fsf@kamboji.qca.qualcomm.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Michal Kazior writes: > - left = wait_event_interruptible_timeout(ar->event_queue, > + ret = wait_event_interruptible_timeout(ar->event_queue, > ar->is_target_paused == true, > 1 * HZ); Actually I would prefered the name "left" as the variable contains more than just a normal error code, it also contains the time left before timeout. But I have applied the patch anyway. -- Kalle Valo