From patchwork Thu Feb 3 21:22:55 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 530621 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p13LrLXp018864 for ; Thu, 3 Feb 2011 21:53:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753756Ab1BCVxD (ORCPT ); Thu, 3 Feb 2011 16:53:03 -0500 Received: from mail-wy0-f174.google.com ([74.125.82.174]:61281 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753728Ab1BCVxB (ORCPT ); Thu, 3 Feb 2011 16:53:01 -0500 Received: by wyb28 with SMTP id 28so1628838wyb.19 for ; Thu, 03 Feb 2011 13:53:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:message-id:from:date:subject:to:cc; bh=139jfmMQ8jcldmXNZg6N7+y50cdBx+iZlEm/3faVl00=; b=BVJRJHMTNkRI9/dxEm2Mmo7khNt0pKlHLQQLpqazK+R4kl6hkFo4gtrF55vtYR+rIe yCiQjrDDLPGpjiIE2FL2PED5U7k/xfwwdcVl520PoDWi0cE1fnt5h+6bv0gV+9cQM5BC 3XMQqVFRKxwvWaeAaSAexuI5QyT3SHBdE0GYU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:date:subject:to:cc; b=q7Ra98+w6bkqNmhVTAZ4K95YGTgKC3FM/MXSuWR8zMvEngOSfm2YLe161zAn/SyA7A NPAuw6x59dRXbpU2uwT6CJP3iRnarNe8WVAjh70Vorw8CB+LxJIqzNBizM6NPGa2Jcf/ HMN3cx7SvcDqmqRJoEuoU+lafniliaepmpnv0= Received: by 10.227.146.213 with SMTP id i21mr7837721wbv.15.1296769980540; Thu, 03 Feb 2011 13:53:00 -0800 (PST) Received: from blech.mobile (nat-wh-euh.rz.uni-karlsruhe.de [141.70.81.149]) by mx.google.com with ESMTPS id u9sm942170wbg.18.2011.02.03.13.52.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Feb 2011 13:52:59 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by blech.mobile (Postfix) with ESMTP id 517FD34017C; Thu, 3 Feb 2011 22:52:53 +0100 (CET) Received: from blech.mobile ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j2r1QHYTIcjy; Thu, 3 Feb 2011 22:52:39 +0100 (CET) Received: from blech.mobile (localhost [127.0.0.1]) by blech.mobile (Postfix) with ESMTP id BA43E341FA7; Thu, 3 Feb 2011 22:52:39 +0100 (CET) Message-Id: From: Christian Lamparter Date: Thu, 3 Feb 2011 22:22:55 +0100 Subject: [PATCH] carl9170: fix typo in PS code To: linux-wireless@vger.kernel.org Cc: linville@tuxdriver.com 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.6 (demeter1.kernel.org [140.211.167.41]); Thu, 03 Feb 2011 21:53:22 +0000 (UTC) diff --git a/drivers/net/wireless/ath/carl9170/rx.c b/drivers/net/wireless/ath/carl9170/rx.c index 939a0e9..84866a4 100644 --- a/drivers/net/wireless/ath/carl9170/rx.c +++ b/drivers/net/wireless/ath/carl9170/rx.c @@ -564,7 +564,7 @@ static void carl9170_ps_beacon(struct ar9170 *ar, void *data, unsigned int len) cam = ieee80211_check_tim(tim_ie, tim_len, ar->common.curaid); /* 2. Maybe the AP wants to send multicast/broadcast data? */ - cam = !!(tim_ie->bitmap_ctrl & 0x01); + cam |= !!(tim_ie->bitmap_ctrl & 0x01); if (!cam) { /* back to low-power land. */