1 From d55cb6d8a99441aff55cb9ce663a07f7f1667e83 Mon Sep 17 00:00:00 2001
2 From: Martin Kaistra <martin.kaistra@linutronix.de>
3 Date: Fri, 22 Dec 2023 11:14:22 +0100
4 Subject: [PATCH 01/21] wifi: rtl8xxxu: remove assignment of priv->vif in
5 rtl8xxxu_bss_info_changed()
7 priv->vif gets already set in rtl8xxxu_add_interface, there is no need
8 to set it also in rtl8xxxu_bss_info_changed().
10 Signed-off-by: Martin Kaistra <martin.kaistra@linutronix.de>
11 Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
12 Signed-off-by: Kalle Valo <kvalo@kernel.org>
13 Link: https://msgid.link/20231222101442.626837-2-martin.kaistra@linutronix.de
15 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 1 -
16 1 file changed, 1 deletion(-)
18 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
19 +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
20 @@ -5004,7 +5004,6 @@ rtl8xxxu_bss_info_changed(struct ieee802
22 rtl8xxxu_update_ra_report(rarpt, highest_rate, sgi, bw);
25 priv->rssi_level = RTL8XXXU_RATR_STA_INIT;
27 priv->fops->update_rate_mask(priv, ramask, 0, sgi,