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

staging: rtl8192e: Rename rtl8192_config_rate

Use naming schema found in other rtlwifi devices.
Rename rtl8192_config_rate to rtl92e_config_rate.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bc4f2cc9
......@@ -968,7 +968,7 @@ static void rtl8192_net_update(struct net_device *dev)
u16 rate_config = 0;
net = &priv->rtllib->current_network;
rtl8192_config_rate(dev, &rate_config);
rtl92e_config_rate(dev, &rate_config);
priv->dot11CurrentPreambleMode = PREAMBLE_AUTO;
priv->basic_rate = rate_config &= 0x15f;
write_nic_dword(dev, BSSIDR, ((u32 *)net->bssid)[0]);
......@@ -2151,7 +2151,7 @@ void rtl92e_update_ratr_table(struct net_device *dev)
u16 rate_config = 0;
u8 rate_index = 0;
rtl8192_config_rate(dev, &rate_config);
rtl92e_config_rate(dev, &rate_config);
ratr_value = rate_config | *pMcsRate << 12;
switch (ieee->mode) {
case IEEE_A:
......
......@@ -575,7 +575,7 @@ static void rtl8192_stop_beacon(struct net_device *dev)
{
}
void rtl8192_config_rate(struct net_device *dev, u16 *rate_config)
void rtl92e_config_rate(struct net_device *dev, u16 *rate_config)
{
struct r8192_priv *priv = rtllib_priv(dev);
struct rtllib_network *net;
......
......@@ -602,7 +602,7 @@ void rtl8192_irq_disable(struct net_device *dev);
void rtl8192_pci_resetdescring(struct net_device *dev);
void rtl8192_SetWirelessMode(struct net_device *dev, u8 wireless_mode);
void rtl8192_irq_enable(struct net_device *dev);
void rtl8192_config_rate(struct net_device *dev, u16 *rate_config);
void rtl92e_config_rate(struct net_device *dev, u16 *rate_config);
void rtl8192_irq_disable(struct net_device *dev);
void rtl819x_UpdateRxPktTimeStamp(struct net_device *dev,
......
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