wifi: mt76: mt7615: add missing chanctx ops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Johannes Berg <johannes.berg@xxxxxxxxx>

commit 40cecacabc460f5074398753feb9ed7d43e8dfa6 upstream.

Here's another one I missed during the initial conversion,
fix that.

Cc: stable@xxxxxxxxxxxxxxx
Reported-by: Rene Petersen <renepetersen@xxxxxxxxx>
Fixes: 0a44dfc07074 ("wifi: mac80211: simplify non-chanctx drivers")
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218895
Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxx>
Link: https://msgid.link/20240528142308.3f7db1821e68.I531135d7ad76331a50244d6d5288e14aa9668390@changeid
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/net/wireless/mediatek/mt76/mt7615/main.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/main.c b/drivers/net/wireless/mediatek/mt76/mt7615/main.c
index 0971c164b57e..c27acaf0eb1c 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7615/main.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7615/main.c
@@ -1326,6 +1326,10 @@ static void mt7615_set_rekey_data(struct ieee80211_hw *hw,
 #endif /* CONFIG_PM */
 
 const struct ieee80211_ops mt7615_ops = {
+	.add_chanctx = ieee80211_emulate_add_chanctx,
+	.remove_chanctx = ieee80211_emulate_remove_chanctx,
+	.change_chanctx = ieee80211_emulate_change_chanctx,
+	.switch_vif_chanctx = ieee80211_emulate_switch_vif_chanctx,
 	.tx = mt7615_tx,
 	.start = mt7615_start,
 	.stop = mt7615_stop,
-- 
2.45.2



Patches currently in stable-queue which might be from johannes.berg@xxxxxxxxx are

queue-6.9/wifi-mac80211-mesh-fix-leak-of-mesh_preq_queue-objec.patch
queue-6.9/wifi-cfg80211-validate-he-operation-element-parsing.patch
queue-6.9/wifi-iwlwifi-dbg_ini-move-iwl_dbg_tlv_free-outside-o.patch
queue-6.9/wifi-iwlwifi-mvm-check-n_ssids-before-accessing-the-.patch
queue-6.9/wifi-iwlwifi-mvm-revert-gen2-tx-a-mpdu-size-to-64.patch
queue-6.9/wifi-mac80211-fix-spatial-reuse-element-size-check.patch
queue-6.9/wifi-cfg80211-lock-wiphy-in-cfg80211_get_station.patch
queue-6.9/wifi-iwlwifi-mvm-don-t-read-past-the-mfuart-notifcat.patch
queue-6.9/wifi-iwlwifi-mvm-set-properly-mac-header.patch
queue-6.9/wifi-mac80211-correctly-parse-spatial-reuse-paramete.patch
queue-6.9/wifi-mt76-mt7615-add-missing-chanctx-ops.patch
queue-6.9/wifi-iwlwifi-mvm-don-t-initialize-csa_work-twice.patch
queue-6.9/wifi-cfg80211-fully-move-wiphy-work-to-unbound-workq.patch
queue-6.9/wifi-mac80211-pass-proper-link-id-for-channel-switch.patch
queue-6.9/net-sched-initialize-noop_qdisc-owner.patch
queue-6.9/wifi-cfg80211-pmsr-use-correct-nla_get_ux-functions.patch
queue-6.9/wifi-mac80211-fix-deadlock-in-ieee80211_sta_ps_deliv.patch




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux