Commit 5f3cd6e5 authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: Rename CPUcheck_maincodeok_turnonCPU

Use naming schema found in other rtlwifi devices.
Rename CPUcheck_maincodeok_turnonCPU to _rtl92e_fw_boot_cpu.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d4ad6ef1
......@@ -101,7 +101,7 @@ static bool fw_download_code(struct net_device *dev, u8 *code_virtual_address,
return true;
}
static bool CPUcheck_maincodeok_turnonCPU(struct net_device *dev)
static bool _rtl92e_fw_boot_cpu(struct net_device *dev)
{
bool rt_status = true;
u32 CPU_status = 0;
......@@ -192,12 +192,11 @@ static bool firmware_check_ready(struct net_device *dev,
case FW_INIT_STEP1_MAIN:
pfirmware->firmware_status = FW_STATUS_2_MOVE_MAIN_CODE;
rt_status = CPUcheck_maincodeok_turnonCPU(dev);
rt_status = _rtl92e_fw_boot_cpu(dev);
if (rt_status)
pfirmware->firmware_status = FW_STATUS_3_TURNON_CPU;
else
RT_TRACE(COMP_FIRMWARE,
"CPUcheck_maincodeok_turnonCPU fail!\n");
RT_TRACE(COMP_FIRMWARE, "_rtl92e_fw_boot_cpu fail!\n");
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment