Skip to content

Commit 40cecac

Browse files
jmberg-intelKalle Valo
authored andcommitted
wifi: mt76: mt7615: add missing chanctx ops
Here's another one I missed during the initial conversion, fix that. Cc: stable@vger.kernel.org Reported-by: Rene Petersen <renepetersen@posteo.de> Fixes: 0a44dfc ("wifi: mac80211: simplify non-chanctx drivers") Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218895 Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://msgid.link/20240528142308.3f7db1821e68.I531135d7ad76331a50244d6d5288e14aa9668390@changeid
1 parent 596c195 commit 40cecac

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • drivers/net/wireless/mediatek/mt76/mt7615

drivers/net/wireless/mediatek/mt76/mt7615/main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,6 +1326,10 @@ static void mt7615_set_rekey_data(struct ieee80211_hw *hw,
13261326
#endif /* CONFIG_PM */
13271327

13281328
const struct ieee80211_ops mt7615_ops = {
1329+
.add_chanctx = ieee80211_emulate_add_chanctx,
1330+
.remove_chanctx = ieee80211_emulate_remove_chanctx,
1331+
.change_chanctx = ieee80211_emulate_change_chanctx,
1332+
.switch_vif_chanctx = ieee80211_emulate_switch_vif_chanctx,
13291333
.tx = mt7615_tx,
13301334
.start = mt7615_start,
13311335
.stop = mt7615_stop,

0 commit comments

Comments
 (0)