Skip to content

Commit 0d82fc9

Browse files
csyuancnbd168
authored andcommitted
wifi: mt76: connac: fix POWER_CTRL command name typo
Fix typo MCU_UNI_CMD_POWER_CREL to MCU_UNI_CMD_POWER_CTRL. Fixes: 779d34d ("wifi: mt76: connac: add more unified command IDs") Signed-off-by: Shayne Chen <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
1 parent c5139fc commit 0d82fc9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1198,7 +1198,7 @@ enum {
11981198
MCU_UNI_CMD_REPT_MUAR = 0x09,
11991199
MCU_UNI_CMD_WSYS_CONFIG = 0x0b,
12001200
MCU_UNI_CMD_REG_ACCESS = 0x0d,
1201-
MCU_UNI_CMD_POWER_CREL = 0x0f,
1201+
MCU_UNI_CMD_POWER_CTRL = 0x0f,
12021202
MCU_UNI_CMD_RX_HDR_TRANS = 0x12,
12031203
MCU_UNI_CMD_SER = 0x13,
12041204
MCU_UNI_CMD_TWT = 0x14,

drivers/net/wireless/mediatek/mt76/mt7996/mcu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2399,7 +2399,7 @@ mt7996_mcu_restart(struct mt76_dev *dev)
23992399
.power_mode = 1,
24002400
};
24012401

2402-
return mt76_mcu_send_msg(dev, MCU_WM_UNI_CMD(POWER_CREL), &req,
2402+
return mt76_mcu_send_msg(dev, MCU_WM_UNI_CMD(POWER_CTRL), &req,
24032403
sizeof(req), false);
24042404
}
24052405

0 commit comments

Comments
 (0)