From patchwork Thu Jul 22 12:21:02 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Carpenter X-Patchwork-Id: 113585 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6MCLbYP023855 for ; Thu, 22 Jul 2010 12:21:37 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756310Ab0GVMVc (ORCPT ); Thu, 22 Jul 2010 08:21:32 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:53462 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755210Ab0GVMVb (ORCPT ); Thu, 22 Jul 2010 08:21:31 -0400 Received: by fxm14 with SMTP id 14so4224978fxm.19 for ; Thu, 22 Jul 2010 05:21:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=pKnTzqOLEsdf4zH9HZ7Em3SGmdEuJKz76s6UNIWFXS4=; b=xPQzFUxPs1NoFWTrLzEpOjNwt+5pD+4CVB60A2DeQ8cVUbVXH5Tamc49wqihC2Xazk dxK/q8n/YRXvU/DZnahUYaHKBS+fHpVcgysce5BjZ+26QnISGCIlVFgcEWl3RGZZ6h/v oBHjWmEafUdh0sKbGBeqFNQynhMKhSTxoK5z0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=J6E2WS7BvNblVlEWY90WMWcN2P5vORJ3tHs37V8RUt5Y6TZdhPvg/5RuHOknNA3ibz 8C8BcyVPmD+SWyXGlNtEDYWj9Rf9Pa6JRL08+OZ0jGBLreZj1arwXUVInF5BZ5V2rekr HGOabhfDOiLiPfeuZSClH+FRe5vCZzieAlAHA= Received: by 10.223.110.73 with SMTP id m9mr1779828fap.25.1279801287357; Thu, 22 Jul 2010 05:21:27 -0700 (PDT) Received: from bicker ([205.177.176.130]) by mx.google.com with ESMTPS id w11sm3300228fao.13.2010.07.22.05.21.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 22 Jul 2010 05:21:26 -0700 (PDT) Date: Thu, 22 Jul 2010 14:21:02 +0200 From: Dan Carpenter To: Dan Williams Cc: "John W. Linville" , Holger Schurig , "David S. Miller" , Amitkumar Karwar , Stephen Hemminger , libertas-dev@lists.infradead.org, linux-wireless@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: [patch -next] libertas: precedence bug Message-ID: <20100722122102.GH17585@bicker> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 22 Jul 2010 12:21:37 +0000 (UTC) diff --git a/drivers/net/wireless/libertas/tx.c b/drivers/net/wireless/libertas/tx.c index 411a3bb..8000ca6 100644 --- a/drivers/net/wireless/libertas/tx.c +++ b/drivers/net/wireless/libertas/tx.c @@ -180,7 +180,7 @@ void lbs_send_tx_feedback(struct lbs_private *priv, u32 try_count) { struct tx_radiotap_hdr *radiotap_hdr; - if (!priv->wdev->iftype == NL80211_IFTYPE_MONITOR || + if (priv->wdev->iftype != NL80211_IFTYPE_MONITOR || priv->currenttxskb == NULL) return;