mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: avoid extra RCU synchronization on station removal
Use sta_pre_rcu_remove callback to clear wcid pointer earlier Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -145,6 +145,7 @@ const struct ieee80211_ops mt76x2_ops = {
|
||||
.configure_filter = mt76x02_configure_filter,
|
||||
.bss_info_changed = mt76x02_bss_info_changed,
|
||||
.sta_state = mt76_sta_state,
|
||||
.sta_pre_rcu_remove = mt76_sta_pre_rcu_remove,
|
||||
.set_key = mt76x02_set_key,
|
||||
.conf_tx = mt76x02_conf_tx,
|
||||
.sw_scan_start = mt76_sw_scan,
|
||||
|
||||
@@ -105,6 +105,7 @@ const struct ieee80211_ops mt76x2u_ops = {
|
||||
.add_interface = mt76x02_add_interface,
|
||||
.remove_interface = mt76x02_remove_interface,
|
||||
.sta_state = mt76_sta_state,
|
||||
.sta_pre_rcu_remove = mt76_sta_pre_rcu_remove,
|
||||
.set_key = mt76x02_set_key,
|
||||
.ampdu_action = mt76x02_ampdu_action,
|
||||
.config = mt76x2u_config,
|
||||
|
||||
Reference in New Issue
Block a user