diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2016-03-01 01:05:02 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-03-10 16:29:08 +0300 |
commit | fadfa041546924c28ca2a3bf1ed8fd25686e8cf5 (patch) | |
tree | c43e17333c504f8f828892829884a437e71bac61 /drivers/net/wireless | |
parent | b87212ceceef655dae563efd2df13cb59dbd1711 (diff) | |
download | linux-fadfa041546924c28ca2a3bf1ed8fd25686e8cf5.tar.xz |
rtl8xxxu: Set RX boundary for 8723bu
Set the correct TRXFF boundary for 8723bu.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c index bb43937788ce..6611128532f4 100644 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c @@ -6182,7 +6182,10 @@ static int rtl8xxxu_init_device(struct ieee80211_hw *hw) /* * Set RX page boundary */ - rtl8xxxu_write16(priv, REG_TRXFF_BNDY + 2, 0x27ff); + if (priv->rtlchip == 0x8723b) + rtl8xxxu_write16(priv, REG_TRXFF_BNDY + 2, 0x3f7f); + else + rtl8xxxu_write16(priv, REG_TRXFF_BNDY + 2, 0x27ff); /* * Transfer page size is always 128 */ |