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

staging: rtl8192e: Rename firmware_check_ready

Use naming schema found in other rtlwifi devices.
Rename firmware_check_ready to _rtl92e_fw_check_ready.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 57aac1ce
...@@ -177,8 +177,8 @@ static bool _rtl92e_is_fw_ready(struct net_device *dev) ...@@ -177,8 +177,8 @@ static bool _rtl92e_is_fw_ready(struct net_device *dev)
} }
static bool firmware_check_ready(struct net_device *dev, static bool _rtl92e_fw_check_ready(struct net_device *dev,
u8 load_fw_status) u8 load_fw_status)
{ {
struct r8192_priv *priv = rtllib_priv(dev); struct r8192_priv *priv = rtllib_priv(dev);
struct rt_firmware *pfirmware = priv->pFirmware; struct rt_firmware *pfirmware = priv->pFirmware;
...@@ -304,7 +304,7 @@ bool rtl92e_init_fw(struct net_device *dev) ...@@ -304,7 +304,7 @@ bool rtl92e_init_fw(struct net_device *dev)
if (!rt_status) if (!rt_status)
goto download_firmware_fail; goto download_firmware_fail;
if (!firmware_check_ready(dev, i)) if (!_rtl92e_fw_check_ready(dev, i))
goto download_firmware_fail; goto download_firmware_fail;
} }
......
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