From patchwork Mon Aug 16 20:39:14 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?G=C3=A1bor_Stefanik?= X-Patchwork-Id: 119793 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 o7GKdHLB025645 for ; Mon, 16 Aug 2010 20:39:17 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756159Ab0HPUjQ (ORCPT ); Mon, 16 Aug 2010 16:39:16 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:41041 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755353Ab0HPUjQ (ORCPT ); Mon, 16 Aug 2010 16:39:16 -0400 Received: by fxm13 with SMTP id 13so3130309fxm.19 for ; Mon, 16 Aug 2010 13:39:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=nm0CWwFthVY9E2m85U1D/QXPg+GRI5Beyqse8a6gxLA=; b=TAuSJvwrc8a50HhxFLjmQ+H+lHvy45OpZjsS/0V+VyCSUm4zzfeb3k1gcHTdx32+c6 5/MLVN3YSyhTj42i+lEsG21RxnO3ia3O6bhppsNDOPg/U1Fq9X0Ysdv5EAknjBdfkdx7 FL789xYN+0q9v794tFtgzwmAK/71L6++YLE54= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; b=A1hKemTVy8XzZz8zPDanbtZBrSEUsbbiz92YsIJ67F1yFE/IKLSTUfWdtKnl13wdL3 3LXp2ygwO3wKPiwWIX0Dmm2vyMEQmLJ1DiA4sbHWf/4DVDx/fbRr3XbQHa1OPWTav4H2 fdJyk2Lfm4BczuYy22DIMwSxmMGK223HxlrSs= Received: by 10.223.106.132 with SMTP id x4mr5686041fao.15.1281991152053; Mon, 16 Aug 2010 13:39:12 -0700 (PDT) Received: from localhost.localdomain (pool-0010a.externet.hu [80.85.49.9]) by mx.google.com with ESMTPS id r4sm1897477faa.43.2010.08.16.13.39.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 16 Aug 2010 13:39:11 -0700 (PDT) From: =?UTF-8?q?G=C3=A1bor=20Stefanik?= To: John Linville , =?UTF-8?q?Michael=20B=C3=BCsch?= Cc: linux-wireless@vger.kernel.org, b43-dev@lists.infradead.org, Larry Finger , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , =?UTF-8?q?G=C3=A1bor=20Stefanik?= Subject: [PATCH 1/4] b43: N-PHY: Implement Host Flags write during device init Date: Mon, 16 Aug 2010 22:39:14 +0200 Message-Id: <1281991157-1557-1-git-send-email-netrolller.3d@gmail.com> X-Mailer: git-send-email 1.6.4.2 MIME-Version: 1.0 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]); Mon, 16 Aug 2010 20:39:18 +0000 (UTC) diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c index 5a72570..cb815cc 100644 --- a/drivers/net/wireless/b43/phy_n.c +++ b/drivers/net/wireless/b43/phy_n.c @@ -1098,7 +1098,8 @@ static void b43_nphy_workarounds(struct b43_wldev *dev) if (dev->phy.rev < 2) { if (b43_phy_read(dev, B43_NPHY_RXCTL) & 0x2) - ; /*TODO: b43_mhf(dev, 2, 0x0010, 0x0010, 3);*/ + b43_hf_write(dev, b43_hf_read(dev) | + B43_HF_MLADVW); } else if (dev->phy.rev == 2) { b43_phy_write(dev, B43_NPHY_CRSCHECK2, 0); b43_phy_write(dev, B43_NPHY_CRSCHECK3, 0);