From: Adam Lee Date: Fri, 28 Mar 2014 03:36:19 +0000 (+0800) Subject: rtlwifi: rtl8188ee: enable MSI interrupts mode X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2a54eb5e1476426ee639bbfbe179b52342a0d82c;p=openwrt%2Fstaging%2Fblogic.git rtlwifi: rtl8188ee: enable MSI interrupts mode Some HP notebooks using this rtl8188ee hardware module can't get AP scan results with pin-based interrupts mode, enabling MSI interrupts mode could fix it. As RealTek's testing results, RTL8188EE works well with both MSI mode and pin-based mode fallback. Signed-off-by: Adam Lee Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/rtlwifi/rtl8188ee/sw.c b/drivers/net/wireless/rtlwifi/rtl8188ee/sw.c index 347af1e4f438..1b4101bf9974 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;