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

staging: rtl8192e: Rename rtl8192_pci_resetdescring

Use naming schema found in other rtlwifi devices.
Rename rtl8192_pci_resetdescring to rtl92e_reset_desc_ring.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b74299cd
...@@ -718,7 +718,7 @@ bool rtl92e_start_adapter(struct net_device *dev) ...@@ -718,7 +718,7 @@ bool rtl92e_start_adapter(struct net_device *dev)
priv->being_init_adapter = true; priv->being_init_adapter = true;
start: start:
rtl8192_pci_resetdescring(dev); rtl92e_reset_desc_ring(dev);
priv->Rf_Mode = RF_OP_By_SW_3wire; priv->Rf_Mode = RF_OP_By_SW_3wire;
if (priv->ResetProgress == RESET_TYPE_NORESET) { if (priv->ResetProgress == RESET_TYPE_NORESET) {
write_nic_byte(dev, ANAPAR, 0x37); write_nic_byte(dev, ANAPAR, 0x37);
......
...@@ -1943,7 +1943,7 @@ static short rtl8192_pci_initdescring(struct net_device *dev) ...@@ -1943,7 +1943,7 @@ static short rtl8192_pci_initdescring(struct net_device *dev)
return 1; return 1;
} }
void rtl8192_pci_resetdescring(struct net_device *dev) void rtl92e_reset_desc_ring(struct net_device *dev)
{ {
struct r8192_priv *priv = rtllib_priv(dev); struct r8192_priv *priv = rtllib_priv(dev);
int i, rx_queue_idx; int i, rx_queue_idx;
......
...@@ -597,7 +597,7 @@ void rtl92e_check_rfctrl_gpio_timer(unsigned long data); ...@@ -597,7 +597,7 @@ void rtl92e_check_rfctrl_gpio_timer(unsigned long data);
void rtl8192_hw_wakeup_wq(void *data); void rtl8192_hw_wakeup_wq(void *data);
void rtl8192_pci_resetdescring(struct net_device *dev); void rtl92e_reset_desc_ring(struct net_device *dev);
void rtl8192_SetWirelessMode(struct net_device *dev, u8 wireless_mode); void rtl8192_SetWirelessMode(struct net_device *dev, u8 wireless_mode);
void rtl92e_irq_enable(struct net_device *dev); void rtl92e_irq_enable(struct net_device *dev);
void rtl92e_config_rate(struct net_device *dev, u16 *rate_config); void rtl92e_config_rate(struct net_device *dev, u16 *rate_config);
......
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