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