From patchwork Mon Mar 24 06:00:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Lee X-Patchwork-Id: 3881321 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7AC3E9F334 for ; Mon, 24 Mar 2014 06:01:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 910952026C for ; Mon, 24 Mar 2014 06:01:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 556FF201E4 for ; Mon, 24 Mar 2014 06:01:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752014AbaCXGBI (ORCPT ); Mon, 24 Mar 2014 02:01:08 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:34395 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750794AbaCXGBG (ORCPT ); Mon, 24 Mar 2014 02:01:06 -0400 Received: by mail-pa0-f47.google.com with SMTP id lj1so4968575pab.34 for ; Sun, 23 Mar 2014 23:01:06 -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; bh=6wFBaVyPpvwBwZTwHpvAeXS3EajAn5gVsmqo8mXzemU=; b=moNilS0mxNFlNQN/AH5IDyA17UoWxfHRZZrTvcpJn6uI0blyay6LFYCyjcBWxfoLdO pyB9a6DmesTTe02XD+JRUCDdo16xRwIvEsNj5Sgcxz4ivUDITdKPuXdPI/xH8WN2pRZ/ 3eW21TD74lW3ZEm/qX1/3jyYBLCcUqzniHx1Gt1GGrZFxNag8SNECICdP/YpPT40nrCf LHsZxkHsZJ0xW5MjNrF4wlQunBoZ6ag2agpD+ztsTBI6Yih2BcNsIzGncvqc+0BcIZ/B JThOjIBIcJb2DSnaugoWhgb6YSj1QtgYyzjrzGP/nLf0IBHONza+0F0OBceVnez9nKdF ELwA== X-Gm-Message-State: ALoCoQm8W/3FjV3mcxofshqIIAH1O4ALa0wvKyNdLfDia7i2r6cM9u887HOyidaQofy8QuFqZm52 X-Received: by 10.67.23.135 with SMTP id ia7mr69445798pad.5.1395640866173; Sun, 23 Mar 2014 23:01:06 -0700 (PDT) Received: from localhost ([116.213.97.190]) by mx.google.com with ESMTPSA id kl1sm18995873pbd.73.2014.03.23.23.01.03 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 23 Mar 2014 23:01:05 -0700 (PDT) From: Adam Lee To: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org, Larry Finger , stable@kernel.org, "John W. Linville" , Chaoming Li Subject: [PATCH] rtlwifi: rtl8188ee: enable MSI interrupts support Date: Mon, 24 Mar 2014 14:00:41 +0800 Message-Id: <1395640841-14477-1-git-send-email-adam.lee@canonical.com> X-Mailer: git-send-email 1.9.1 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.4 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 Some HP notebooks using this rtl8188ee hardware module can't get AP scan results with pin-based interrupts, enabling MSI interrupts could fix it. Signed-off-by: Adam Lee --- drivers/net/wireless/rtlwifi/rtl8188ee/sw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/rtlwifi/rtl8188ee/sw.c b/drivers/net/wireless/rtlwifi/rtl8188ee/sw.c index 347af1e..1b4101b 100644 --- a/drivers/net/wireless/rtlwifi/rtl8188ee/sw.c +++ b/drivers/net/wireless/rtlwifi/rtl8188ee/sw.c @@ -93,6 +93,7 @@ int rtl88e_init_sw_vars(struct ieee80211_hw *hw) u8 tid; rtl8188ee_bt_reg_init(hw); + rtlpci->msi_support = true; rtlpriv->dm.dm_initialgain_enable = 1; rtlpriv->dm.dm_flag = 0;