653-0027-rtl8xxxu-Set-REG_USB_HRPWM-to-0-for-8188eu.patch 857 B

1234567891011121314151617181920212223
  1. From 42808faad1b2cf0366a39074c08dbd181fa51b07 Mon Sep 17 00:00:00 2001
  2. From: Jes Sorensen <Jes.Sorensen@redhat.com>
  3. Date: Fri, 22 Jul 2016 11:33:29 -0400
  4. Subject: [PATCH] rtl8xxxu: Set REG_USB_HRPWM to 0 for 8188eu
  5. This matches what 8192eu does
  6. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
  7. ---
  8. drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
  11. +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
  12. @@ -4240,7 +4240,7 @@ static int rtl8xxxu_init_device(struct i
  13. val32 |= FPGA_RF_MODE_CCK;
  14. rtl8xxxu_write32(priv, REG_FPGA0_RF_MODE, val32);
  15. }
  16. - } else if (priv->rtl_chip == RTL8192E) {
  17. + } else if (priv->rtl_chip == RTL8192E || priv->rtl_chip == RTL8188E) {
  18. rtl8xxxu_write8(priv, REG_USB_HRPWM, 0x00);
  19. }