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

staging: rtl8192e: Rename init_firmware

Use naming schema found in other rtlwifi devices.
Rename init_firmware to rtl92e_init_fw.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d66e938e
...@@ -852,7 +852,7 @@ bool rtl92e_start_adapter(struct net_device *dev) ...@@ -852,7 +852,7 @@ bool rtl92e_start_adapter(struct net_device *dev)
} }
RT_TRACE(COMP_INIT, "Load Firmware!\n"); RT_TRACE(COMP_INIT, "Load Firmware!\n");
bfirmwareok = init_firmware(dev); bfirmwareok = rtl92e_init_fw(dev);
if (!bfirmwareok) { if (!bfirmwareok) {
if (retry_times < 10) { if (retry_times < 10) {
retry_times++; retry_times++;
......
...@@ -223,7 +223,7 @@ static bool firmware_check_ready(struct net_device *dev, ...@@ -223,7 +223,7 @@ static bool firmware_check_ready(struct net_device *dev,
return rt_status; return rt_status;
} }
bool init_firmware(struct net_device *dev) bool rtl92e_init_fw(struct net_device *dev)
{ {
struct r8192_priv *priv = rtllib_priv(dev); struct r8192_priv *priv = rtllib_priv(dev);
bool rt_status = true; bool rt_status = true;
......
...@@ -59,7 +59,7 @@ struct rt_firmware { ...@@ -59,7 +59,7 @@ struct rt_firmware {
u16 firmware_buf_size[MAX_FW_INIT_STEP]; u16 firmware_buf_size[MAX_FW_INIT_STEP];
}; };
bool init_firmware(struct net_device *dev); bool rtl92e_init_fw(struct net_device *dev);
extern void rtl92e_init_fw_param(struct net_device *dev); extern void rtl92e_init_fw_param(struct net_device *dev);
#endif #endif
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