summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Lee <adam.lee@canonical.com>2014-03-28 11:36:19 +0800
committerJohn W. Linville <linville@tuxdriver.com>2014-03-31 13:47:41 -0400
commit2a54eb5e1476426ee639bbfbe179b52342a0d82c (patch)
treeac126bb75c39969e741e22ab316b56b1b21563ca
parent94010fa0dd07e8b904e7c6b6589f15573008ab15 (diff)
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 <adam.lee@canonical.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8188ee/sw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8188ee/sw.c b/drivers/net/wireless/rtlwifi/rtl8188ee/sw.c
index 347af1e4f43..1b4101bf997 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;