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

staging: rtl8192e: Rename rtl8192_halt_adapter

Use naming schema found in other rtlwifi devices.
Rename rtl8192_halt_adapter to rtl92e_stop_adapter.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4d73bd26
...@@ -2098,7 +2098,7 @@ bool rtl8192_rx_query_status_desc(struct net_device *dev, ...@@ -2098,7 +2098,7 @@ bool rtl8192_rx_query_status_desc(struct net_device *dev,
return true; return true;
} }
void rtl8192_halt_adapter(struct net_device *dev, bool reset) void rtl92e_stop_adapter(struct net_device *dev, bool reset)
{ {
struct r8192_priv *priv = rtllib_priv(dev); struct r8192_priv *priv = rtllib_priv(dev);
int i; int i;
......
...@@ -56,6 +56,6 @@ bool rtl8192_rx_query_status_desc(struct net_device *dev, ...@@ -56,6 +56,6 @@ bool rtl8192_rx_query_status_desc(struct net_device *dev,
struct rtllib_rx_stats *stats, struct rtllib_rx_stats *stats,
struct rx_desc *pdesc, struct rx_desc *pdesc,
struct sk_buff *skb); struct sk_buff *skb);
void rtl8192_halt_adapter(struct net_device *dev, bool reset); void rtl92e_stop_adapter(struct net_device *dev, bool reset);
void rtl8192_update_ratr_table(struct net_device *dev); void rtl8192_update_ratr_table(struct net_device *dev);
#endif #endif
...@@ -52,7 +52,7 @@ static struct rtl819x_ops rtl819xp_ops = { ...@@ -52,7 +52,7 @@ static struct rtl819x_ops rtl819xp_ops = {
.tx_fill_cmd_descriptor = rtl8192_tx_fill_cmd_desc, .tx_fill_cmd_descriptor = rtl8192_tx_fill_cmd_desc,
.rx_query_status_descriptor = rtl8192_rx_query_status_desc, .rx_query_status_descriptor = rtl8192_rx_query_status_desc,
.rx_command_packet_handler = NULL, .rx_command_packet_handler = NULL,
.stop_adapter = rtl8192_halt_adapter, .stop_adapter = rtl92e_stop_adapter,
.update_ratr_table = rtl8192_update_ratr_table, .update_ratr_table = rtl8192_update_ratr_table,
.irq_enable = rtl92e_enable_irq, .irq_enable = rtl92e_enable_irq,
.irq_disable = rtl92e_disable_irq, .irq_disable = rtl92e_disable_irq,
......
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