diff options
author | Felix Fietkau <nbd@nbd.name> | 2024-08-28 08:34:22 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2024-09-06 11:14:37 +0200 |
commit | f4fdd7716290a2fb342ec84f55140c1d436e6f4b (patch) | |
tree | 84661ed3d02eae58488f44dd1170fc60dc795af7 /drivers/net/wireless/mediatek/mt76/mt7921/sdio.c | |
parent | wifi: mt76: fix mt76_get_rate (diff) | |
download | linux-f4fdd7716290a2fb342ec84f55140c1d436e6f4b.tar.xz linux-f4fdd7716290a2fb342ec84f55140c1d436e6f4b.zip |
wifi: mt76: partially move channel change code to core
This allows the core code to change the channel. Code deduplication and
preparation for adding scanning code to the core.
Link: https://patch.msgid.link/20240828063422.44813-1-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7921/sdio.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt7921/sdio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/sdio.c b/drivers/net/wireless/mediatek/mt76/mt7921/sdio.c index 004d942ee11a..2ef502d0ce9a 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7921/sdio.c +++ b/drivers/net/wireless/mediatek/mt76/mt7921/sdio.c @@ -103,6 +103,7 @@ static int mt7921s_probe(struct sdio_func *func, .sta_assoc = mt7921_mac_sta_assoc, .sta_remove = mt7921_mac_sta_remove, .update_survey = mt792x_update_channel, + .set_channel = mt7921_set_channel, }; static const struct mt76_bus_ops mt7921s_ops = { .rr = mt76s_rr, |