Skip to content

Commit ddb0273

Browse files
greearbgregkh
authored andcommitted
wifi: mt76: mt7915: add missing chanctx ops
commit 2f7cf3b upstream. Looks like this was missed in the initial patch that made the conversion to the emulated chanctx drivers. Fixes: 0a44dfc ("wifi: mac80211: simplify non-chanctx drivers") Tested-by: James Courtier-Dutton <james.dutton@gmail.com> Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent cc219cb commit ddb0273

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • drivers/net/wireless/mediatek/mt76/mt7915

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1657,6 +1657,10 @@ mt7915_net_fill_forward_path(struct ieee80211_hw *hw,
16571657
#endif
16581658

16591659
const struct ieee80211_ops mt7915_ops = {
1660+
.add_chanctx = ieee80211_emulate_add_chanctx,
1661+
.remove_chanctx = ieee80211_emulate_remove_chanctx,
1662+
.change_chanctx = ieee80211_emulate_change_chanctx,
1663+
.switch_vif_chanctx = ieee80211_emulate_switch_vif_chanctx,
16601664
.tx = mt7915_tx,
16611665
.start = mt7915_start,
16621666
.stop = mt7915_stop,

0 commit comments

Comments
 (0)