From patchwork Sat Dec 26 19:31:59 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roel Kluin X-Patchwork-Id: 69799 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id nBQJTfTg020552 for ; Sat, 26 Dec 2009 19:29:42 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753790AbZLZT3Q (ORCPT ); Sat, 26 Dec 2009 14:29:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753397AbZLZT3P (ORCPT ); Sat, 26 Dec 2009 14:29:15 -0500 Received: from mail-ew0-f219.google.com ([209.85.219.219]:34976 "EHLO mail-ew0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753222AbZLZT3O (ORCPT ); Sat, 26 Dec 2009 14:29:14 -0500 Received: by ewy19 with SMTP id 19so828798ewy.21 for ; Sat, 26 Dec 2009 11:29:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=DxPomncrUHlEYg6kj9V1qipJOjTENnrDNHP15tIMFIE=; b=KBPDuqS2Ugw95E9eaSmUpTYiN1wdELbU/Ihcj03v+vXON9xstfFngfba4CGg80/hTJ TY9r7cs7dcCML2Yt5cyDB49E1O3j+Nzkdt9il8hiwYJN0PDfyNuRTrXi68N9nnAUsyet 8xtoGfy8hk0qUpjzwGhASnm4jGT44AI1P5AlY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=DVks+BzfAwNuVP+bX8XYgnCuim2IINo6IPTmldGMTZtc/9Gte7GQeos++CjKXXkIED 6xgV39HdbicwXE8dajyWwQoMNS31v24NOgqPEzACdLFEJVK5XQQUX1kAYo6W7Od2RxtQ Gb3iISKMM1zOuGOLmV8J1jSQnDNTTj5BVtqtc= Received: by 10.213.100.11 with SMTP id w11mr13591123ebn.34.1261855752092; Sat, 26 Dec 2009 11:29:12 -0800 (PST) Received: from zoinx.mars (d133062.upc-d.chello.nl [213.46.133.62]) by mx.google.com with ESMTPS id 7sm21131859eyg.25.2009.12.26.11.29.11 (version=SSLv3 cipher=RC4-MD5); Sat, 26 Dec 2009 11:29:11 -0800 (PST) Message-ID: <4B3664AF.6090302@gmail.com> Date: Sat, 26 Dec 2009 20:31:59 +0100 From: Roel Kluin User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Thunderbird/3.0 MIME-Version: 1.0 To: "John W. Linville" , linux-wireless@vger.kernel.org, Andrew Morton , LKML Subject: [PATCH] wl1251: timeout one too soon in wl1251_boot_run_firmware() Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org diff --git a/drivers/net/wireless/wl12xx/wl1251_boot.c b/drivers/net/wireless/wl12xx/wl1251_boot.c index 2e733e7..28a8086 100644 --- a/drivers/net/wireless/wl12xx/wl1251_boot.c +++ b/drivers/net/wireless/wl12xx/wl1251_boot.c @@ -256,7 +256,7 @@ int wl1251_boot_run_firmware(struct wl1251 *wl) } } - if (loop >= INIT_LOOP) { + if (loop > INIT_LOOP) { wl1251_error("timeout waiting for the hardware to " "complete initialization"); return -EIO;