From patchwork Fri Jan 21 03:03:41 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sujith Manoharan X-Patchwork-Id: 493841 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 p0L34Udu006995 for ; Fri, 21 Jan 2011 03:04:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752956Ab1AUDE2 (ORCPT ); Thu, 20 Jan 2011 22:04:28 -0500 Received: from mail-iy0-f174.google.com ([209.85.210.174]:40689 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752187Ab1AUDE1 (ORCPT ); Thu, 20 Jan 2011 22:04:27 -0500 Received: by iyj18 with SMTP id 18so1248234iyj.19 for ; Thu, 20 Jan 2011 19:04:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:mime-version:content-type :content-transfer-encoding:message-id:date:to:x-mailer:cc:subject; bh=EDCr5M8VpBk++wimFLxIFSmWGemZr+P8pheUiWUGx5g=; b=fcTZnpy3qX944CisDd8yWpAGTwXXXOsq0V4ZN6qBVzVHHmotX2esTig1VSOZc+sCXN CDds+B7JbzB9Mwc8N9KjpgA6P0bW3WO18F6wQQakYTB/kSMPQMpRWDNU3P3e9R8gK4zC 42p6n/pPXMea8oEgHpd6yr4fv8+M96NoZS5b4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:content-transfer-encoding:message-id :date:to:x-mailer:cc:subject; b=b/X1GHIXqoW/xe9aa7PklYmHMuHbKRHznnbz0tkVSJQeLXopaPUM0WvaIOjzl58Oj7 8rM/Tx6kMDZBPahLLKFzMyFVYP42Dcls+OAyEXHKiroZ8G2wnQ4Dt/+/gmIZJ52USfhg BP0EvNniCqwbT+0K1Ub0OZj/JyntIdJLCDhfU= Received: by 10.42.224.198 with SMTP id ip6mr70833icb.402.1295579067235; Thu, 20 Jan 2011 19:04:27 -0800 (PST) Received: from bodhi ([117.205.82.212]) by mx.google.com with ESMTPS id k42sm6631194ick.8.2011.01.20.19.04.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 20 Jan 2011 19:04:26 -0800 (PST) From: Sujith MIME-Version: 1.0 Message-ID: <19768.63373.791952.897019@gargle.gargle.HOWL> Date: Fri, 21 Jan 2011 08:33:41 +0530 To: linux-wireless@vger.kernel.org X-Mailer: VM 8.1.1 under 23.2.1 (x86_64-unknown-linux-gnu) CC: ath9k-devel@venema.h4ckr.net Subject: [RFC/WIP 30/33] ath9k_htc: Fix host RX initialization 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]); Fri, 21 Jan 2011 03:04:31 +0000 (UTC) diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c index 9913ef0..458164f 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c @@ -451,20 +451,12 @@ u32 ath9k_htc_calcrxfilter(struct ath9k_htc_priv *priv) static void ath9k_htc_opmode_init(struct ath9k_htc_priv *priv) { struct ath_hw *ah = priv->ah; - struct ath_common *common = ath9k_hw_common(ah); - u32 rfilt, mfilt[2]; /* configure rx filter */ rfilt = ath9k_htc_calcrxfilter(priv); ath9k_hw_setrxfilter(ah, rfilt); - /* configure bssid mask */ - ath_hw_setbssidmask(common); - - /* configure operational mode */ - ath9k_hw_setopmode(ah); - /* calculate and install multicast filter */ mfilt[0] = mfilt[1] = ~0; ath9k_hw_setmcastfilter(ah, mfilt[0], mfilt[1]);