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/mt7915/testmode.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/mt7915/testmode.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt7915/testmode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/testmode.c b/drivers/net/wireless/mediatek/mt76/mt7915/testmode.c index 0d76ae31b376..1ed8e77eb549 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7915/testmode.c +++ b/drivers/net/wireless/mediatek/mt76/mt7915/testmode.c @@ -425,7 +425,7 @@ static void mt7915_tm_update_channel(struct mt7915_phy *phy) { mutex_unlock(&phy->dev->mt76.mutex); - mt7915_set_channel(phy); + mt76_update_channel(phy->mt76); mutex_lock(&phy->dev->mt76.mutex); mt7915_mcu_set_chan_info(phy, MCU_EXT_CMD(SET_RX_PATH)); |