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>
This commit is contained in:
parent
b87212cece
commit
fadfa04154
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue