From patchwork Sun Nov 8 08:23:07 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julia Lawall X-Patchwork-Id: 58469 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nA88O271000462 for ; Sun, 8 Nov 2009 08:24:02 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752380AbZKHIXH (ORCPT ); Sun, 8 Nov 2009 03:23:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751726AbZKHIXG (ORCPT ); Sun, 8 Nov 2009 03:23:06 -0500 Received: from mgw2.diku.dk ([130.225.96.92]:48218 "EHLO mgw2.diku.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751438AbZKHIXF (ORCPT ); Sun, 8 Nov 2009 03:23:05 -0500 Received: from localhost (localhost [127.0.0.1]) by mgw2.diku.dk (Postfix) with ESMTP id 3F5C019BBAB; Sun, 8 Nov 2009 09:23:09 +0100 (CET) Received: from mgw2.diku.dk ([127.0.0.1]) by localhost (mgw2.diku.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02801-10; Sun, 8 Nov 2009 09:23:07 +0100 (CET) Received: from nhugin.diku.dk (nhugin.diku.dk [130.225.96.140]) by mgw2.diku.dk (Postfix) with ESMTP id CC07819BBA4; Sun, 8 Nov 2009 09:23:07 +0100 (CET) Received: from ask.diku.dk (ask.diku.dk [130.225.96.225]) by nhugin.diku.dk (Postfix) with ESMTP id 494E16DF845; Sun, 8 Nov 2009 09:20:03 +0100 (CET) Received: by ask.diku.dk (Postfix, from userid 3767) id 75E50411C; Sun, 8 Nov 2009 09:23:07 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by ask.diku.dk (Postfix) with ESMTP id 6760340C6; Sun, 8 Nov 2009 09:23:07 +0100 (CET) Date: Sun, 8 Nov 2009 09:23:07 +0100 (CET) From: Julia Lawall To: Corey Thomas , "John W. Linville" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: [PATCH] drivers/net/wireless: correct check on CCS_START_NETWORK Message-ID: MIME-Version: 1.0 X-Virus-Scanned: amavisd-new at diku.dk 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/ray_cs.c b/drivers/net/wireless/ray_cs.c index 1c88c2e..5ee9d2a 100644 --- a/drivers/net/wireless/ray_cs.c +++ b/drivers/net/wireless/ray_cs.c @@ -2074,7 +2074,7 @@ static irqreturn_t ray_interrupt(int irq, void *dev_id) del_timer(&local->timer); local->timer.expires = jiffies + HZ * 5; local->timer.data = (long)local; - if (status == CCS_START_NETWORK) { + if (cmd == CCS_START_NETWORK) { DEBUG(0, "ray_cs interrupt network \"%s\" start failed\n", local->sparm.b4.a_current_ess_id);