diff mbox

rtlwifi: rtl8188ee: enable MSI interrupts support

Message ID 1395640841-14477-1-git-send-email-adam.lee@canonical.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Adam Lee March 24, 2014, 6 a.m. UTC
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 <adam.lee@canonical.com>
---
 drivers/net/wireless/rtlwifi/rtl8188ee/sw.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Adam Lee March 24, 2014, 6:05 a.m. UTC | #1
On Mon, Mar 24, 2014 at 02:00:41PM +0800, Adam Lee wrote:
> 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 <adam.lee@canonical.com>
> ---
>  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;
> -- 
> 1.9.1

Cc: stable@vger.kernel.org
Greg KH March 24, 2014, 6:12 a.m. UTC | #2
On Mon, Mar 24, 2014 at 02:05:21PM +0800, Adam Lee wrote:
> On Mon, Mar 24, 2014 at 02:00:41PM +0800, Adam Lee wrote:
> > 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 <adam.lee@canonical.com>
> > ---
> >  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;
> > -- 
> > 1.9.1
> 
> Cc: stable@vger.kernel.org


<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read Documentation/stable_kernel_rules.txt
for how to do this properly.

</formletter>
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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;