Commit fadfa041 authored by Jes Sorensen's avatar Jes Sorensen Committed by Kalle Valo
Browse files

rtl8xxxu: Set RX boundary for 8723bu



Set the correct TRXFF boundary for 8723bu.

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent b87212ce
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -6182,6 +6182,9 @@ static int rtl8xxxu_init_device(struct ieee80211_hw *hw)
	/*
	 * Set RX page boundary
	 */
	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