Skip to content

Commit

Permalink
wifi: mt76: mt7915: Emulate chanctx methods.
Browse files Browse the repository at this point in the history
Looks like this was missed in the initial patch that made
the conversion to the emulated chanctx drivers.

Fixes: commit 0a44dfc ("wifi: mac80211: simplify non-chanctx drivers")

Signed-off-by: Ben Greear <greearb@candelatech.com>
  • Loading branch information
greearb authored and frank-w committed Mar 30, 2024
1 parent fbc7afa commit db04aff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/net/wireless/mediatek/mt76/mt7915/main.c
Expand Up @@ -1657,6 +1657,10 @@ mt7915_net_fill_forward_path(struct ieee80211_hw *hw,
#endif

const struct ieee80211_ops mt7915_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 = mt7915_tx,
.start = mt7915_start,
.stop = mt7915_stop,
Expand Down

0 comments on commit db04aff

Please sign in to comment.