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

staging: rtl8192e: Rename rtl8192_phy_configmac

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_configmac to rtl92e_config_mac.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5948d1fe
...@@ -828,7 +828,7 @@ bool rtl92e_start_adapter(struct net_device *dev) ...@@ -828,7 +828,7 @@ bool rtl92e_start_adapter(struct net_device *dev)
} }
write_nic_byte(dev, 0xbe, 0xc0); write_nic_byte(dev, 0xbe, 0xc0);
rtl8192_phy_configmac(dev); rtl92e_config_mac(dev);
if (priv->card_8192_version > (u8) VERSION_8190_BD) { if (priv->card_8192_version > (u8) VERSION_8190_BD) {
rtl8192_phy_getTxPower(dev); rtl8192_phy_getTxPower(dev);
......
...@@ -328,7 +328,7 @@ static void phy_FwRFSerialWrite(struct net_device *dev, ...@@ -328,7 +328,7 @@ static void phy_FwRFSerialWrite(struct net_device *dev,
} }
void rtl8192_phy_configmac(struct net_device *dev) void rtl92e_config_mac(struct net_device *dev)
{ {
u32 dwArrayLen = 0, i = 0; u32 dwArrayLen = 0, i = 0;
u32 *pdwArray = NULL; u32 *pdwArray = NULL;
......
...@@ -78,7 +78,7 @@ extern void rtl8192_phy_SetRFReg(struct net_device *dev, ...@@ -78,7 +78,7 @@ extern void rtl8192_phy_SetRFReg(struct net_device *dev,
extern u32 rtl8192_phy_QueryRFReg(struct net_device *dev, extern u32 rtl8192_phy_QueryRFReg(struct net_device *dev,
enum rf90_radio_path eRFPath, enum rf90_radio_path eRFPath,
u32 RegAddr, u32 BitMask); u32 RegAddr, u32 BitMask);
extern void rtl8192_phy_configmac(struct net_device *dev); extern void rtl92e_config_mac(struct net_device *dev);
extern bool rtl92e_check_bb_and_rf(struct net_device *dev, extern bool rtl92e_check_bb_and_rf(struct net_device *dev,
enum hw90_block CheckBlock, enum hw90_block CheckBlock,
enum rf90_radio_path eRFPath); enum rf90_radio_path eRFPath);
......
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