mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
wifi: rtw89: Fix rtw89_usb_ops_mac_post_init() for RTL8922AU
Skip most of the function because RTL8922AU only needs to configure the RX aggregation here. Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com> Acked-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/71329cd6-0249-4654-be1d-74c8823f4888@gmail.com
This commit is contained in:
parent
0cc43249ea
commit
0df7f0c22d
|
|
@ -827,6 +827,9 @@ static int rtw89_usb_ops_mac_post_init(struct rtw89_dev *rtwdev)
|
|||
enum usb_device_speed speed;
|
||||
u32 ep;
|
||||
|
||||
if (rtwdev->chip->chip_id == RTL8922A)
|
||||
goto rx_agg_cfg;
|
||||
|
||||
rtw89_write32_clr(rtwdev, info->usb3_mac_npi_config_intf_0,
|
||||
B_AX_SSPHY_LFPS_FILTER);
|
||||
|
||||
|
|
@ -848,6 +851,7 @@ static int rtw89_usb_ops_mac_post_init(struct rtw89_dev *rtwdev)
|
|||
rtw89_write8(rtwdev, info->usb_endpoint_2 + 1, NUMP);
|
||||
}
|
||||
|
||||
rx_agg_cfg:
|
||||
rtw89_usb_rx_agg_cfg(rtwdev);
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user