diff options
author | Ben Greear <greearb@candelatech.com> | 2024-03-26 17:11:31 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-05-17 12:18:09 +0200 |
commit | ddb02739a2be54ed922bce3cb57d5f901590ee70 (patch) | |
tree | 7310835fa471b502dd5f95b2a6afc5e4c1442f40 | |
parent | cc219cb8afbc40ec100c0de941047bb29373126a (diff) | |
download | linux-stable-ddb02739a2be54ed922bce3cb57d5f901590ee70.tar.gz linux-stable-ddb02739a2be54ed922bce3cb57d5f901590ee70.tar.bz2 linux-stable-ddb02739a2be54ed922bce3cb57d5f901590ee70.zip |
wifi: mt76: mt7915: add missing chanctx ops
commit 2f7cf3b61d85228ae749b6cb8eda1e1df9d4926f upstream.
Looks like this was missed in the initial patch that made
the conversion to the emulated chanctx drivers.
Fixes: 0a44dfc07074 ("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>
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt7915/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/main.c b/drivers/net/wireless/mediatek/mt76/mt7915/main.c index 3709d18da0e6..075d04ba3ef2 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7915/main.c +++ b/drivers/net/wireless/mediatek/mt76/mt7915/main.c @@ -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, |