mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 14:42:34 -04:00
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: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
bc4f2cc90d
commit
122fe9f1df
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user