]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: refine link handling for link_sta_rc_update
authorZong-Zhe Yang <kevin_yang@realtek.com>
Thu, 28 Nov 2024 05:54:32 +0000 (13:54 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Thu, 5 Dec 2024 06:27:30 +0000 (14:27 +0800)
commit148cd1e184cf3f19c17f8596c8f3f1a3b447edd6
treeca4e200fb35176173eb51b3a0143e79f11b8e540
parentb6853ed2be27ac7f9511867faff3d6dd1139b915
wifi: rtw89: refine link handling for link_sta_rc_update

The original handling will iterate all active links under the given sta
and apply the changes to each. Now, stack tweaks ops from sta_rc_update
to link_sta_rc_update, which means targeting a given link. Then, our link
iteration looks redundant. So, refine it to apply the changes to the link
directly.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20241128055433.11851-6-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/mac80211.c
drivers/net/wireless/realtek/rtw89/phy.c
drivers/net/wireless/realtek/rtw89/phy.h