rtl8xxxu: Another 8723bu magic register set during init
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 29 Feb 2016 22:04:57 +0000 (17:04 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 10 Mar 2016 13:29:07 +0000 (15:29 +0200)
No indication of what register 0xa3 does anywhere in the vendor source.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c

index 3f742b74f29315fe85bafd9fc369540bacda09a3..f5f38a51486fcdf9030e8ec414ebe89e88e23022 100644 (file)
@@ -5996,6 +5996,11 @@ static int rtl8xxxu_init_device(struct ieee80211_hw *hw)
                        rtl8xxxu_write8(priv, REG_TX_REPORT_CTRL + 1, 0x02);
                        /* TX report Timer. Unit: 32us */
                        rtl8xxxu_write16(priv, REG_TX_REPORT_TIME, 0xcdf0);
+
+                       /* tmp ps ? */
+                       val8 = rtl8xxxu_read8(priv, 0xa3);
+                       val8 &= 0xf8;
+                       rtl8xxxu_write8(priv, 0xa3, val8);
                }
 
                if (priv->ep_tx_normal_queue)