From patchwork Thu Apr 24 03:08:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Lee X-Patchwork-Id: 4045561 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 549BCBFF02 for ; Thu, 24 Apr 2014 03:09:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 77D08201C0 for ; Thu, 24 Apr 2014 03:09:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9D44F201F2 for ; Thu, 24 Apr 2014 03:09:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752380AbaDXDI6 (ORCPT ); Wed, 23 Apr 2014 23:08:58 -0400 Received: from mail-pd0-f176.google.com ([209.85.192.176]:35807 "EHLO mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752345AbaDXDI4 (ORCPT ); Wed, 23 Apr 2014 23:08:56 -0400 Received: by mail-pd0-f176.google.com with SMTP id r10so1442942pdi.21 for ; Wed, 23 Apr 2014 20:08:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=euy/SVYQtvjmfXcdGBh2WmuisvkAm2w1ohZZXOhqudw=; b=hr5yBB95WH2niKmWwkoXCOvD4+0VOjLFxcsfahji1gGG8irk4hnWOT63EImXLti6E2 DDMP2x17WGhHqTmQoR1yqx3+c3twaE6fAI93XJqgp4eHFAbSdpAt4q5JlJG3oRaSZ77O nhsYsNcXBMHzMeLtQumoS5uNUljnHN3BBwPTDymG2J/eYYn2y7Rh31jRMOBXIkWFJFzz CrqKdfq64h3wYxtU+cBFlNWIOrbjG9koENzd2eyVvLbXJ7ur+Eks9geqvPtQG++Eooxp nPKWmwZKJbBGrdCjSSATiIFlJI3mpnYGC3LXdbG7v1T7lXiLarCVdaV4AS5XftvDJ0gB drSQ== X-Gm-Message-State: ALoCoQmS9a9y2Zz+Voq9ATAi0yFIHGgXwsOWANUGVBBjarungt7a1hzT98k2gQTV+0cES/XRPD18 X-Received: by 10.68.198.36 with SMTP id iz4mr61163382pbc.109.1398308936286; Wed, 23 Apr 2014 20:08:56 -0700 (PDT) Received: from localhost ([116.213.97.190]) by mx.google.com with ESMTPSA id i10sm13278603pat.36.2014.04.23.20.08.54 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 23 Apr 2014 20:08:55 -0700 (PDT) From: Adam Lee To: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, Larry Finger , "John W. Linville" Subject: [PATCH 2/2] rtlwifi: rtl8723be: disable MSI interrupts mode Date: Thu, 24 Apr 2014 11:08:44 +0800 Message-Id: <1398308924-15312-2-git-send-email-adam.lee@canonical.com> X-Mailer: git-send-email 2.0.0.rc0 In-Reply-To: <1398308924-15312-1-git-send-email-adam.lee@canonical.com> References: <1398308924-15312-1-git-send-email-adam.lee@canonical.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 94010fa0dd07e8b904e7c6b6589f15573008ab15 introduced MSI interrupts mode support, which seemed safe enough with RTL8188EE and RTL8723BE as RealTek's testing results, but some users reported their RTL8188EE modules could not connect to any wireless network after the MSI mode was enabled by Ubuntu 14.04. So, let's fallback to pin-based mode until rtlwifi's MSI support get good compatibility. BugLink: https://bugs.launchpad.net/bugs/1310512 Signed-off-by: Adam Lee --- drivers/net/wireless/rtlwifi/rtl8723be/sw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/rtlwifi/rtl8723be/sw.c b/drivers/net/wireless/rtlwifi/rtl8723be/sw.c index b4577eb..a072136 100644 --- a/drivers/net/wireless/rtlwifi/rtl8723be/sw.c +++ b/drivers/net/wireless/rtlwifi/rtl8723be/sw.c @@ -92,7 +92,7 @@ int rtl8723be_init_sw_vars(struct ieee80211_hw *hw) struct rtl_mac *mac = rtl_mac(rtl_priv(hw)); rtl8723be_bt_reg_init(hw); - rtlpci->msi_support = true; + rtlpci->msi_support = false; rtlpriv->btcoexist.btc_ops = rtl_btc_get_ops_pointer(); rtlpriv->dm.dm_initialgain_enable = 1;