]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8192e: Rename rtl8192_hard_data_xmit
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:13:48 +0000 (10:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:49 +0000 (03:33 +0200)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_hard_data_xmit to _rtl92e_hard_data_xmit.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c

index 51747a30a0e43f0792b6ae62921100fd06d5429e..cf6e9643cfaeeb0ef07865691c373427b4859d05 100644 (file)
@@ -90,7 +90,7 @@ static struct pci_driver rtl8192_pci_driver = {
 static short _rtl92e_is_tx_queue_empty(struct net_device *dev);
 static void _rtl92e_watchdog_wq_cb(void *data);
 static void _rtl92e_watchdog_timer_cb(unsigned long data);
-static void rtl8192_hard_data_xmit(struct sk_buff *skb, struct net_device *dev,
+static void _rtl92e_hard_data_xmit(struct sk_buff *skb, struct net_device *dev,
                                   int rate);
 static int rtl8192_hard_start_xmit(struct sk_buff *skb, struct net_device *dev);
 static void _rtl92e_tx_cmd(struct net_device *dev, struct sk_buff *skb);
@@ -855,7 +855,7 @@ static void _rtl92e_init_priv_handler(struct net_device *dev)
        priv->rtllib->softmac_hard_start_xmit   = rtl8192_hard_start_xmit;
        priv->rtllib->set_chan                  = _rtl92e_set_chan;
        priv->rtllib->link_change               = priv->ops->link_change;
-       priv->rtllib->softmac_data_hard_start_xmit = rtl8192_hard_data_xmit;
+       priv->rtllib->softmac_data_hard_start_xmit = _rtl92e_hard_data_xmit;
        priv->rtllib->check_nic_enough_desc     = rtl8192_check_nic_enough_desc;
        priv->rtllib->handle_assoc_response     = _rtl92e_handle_assoc_response;
        priv->rtllib->handle_beacon             = _rtl92e_handle_beacon;
@@ -1622,8 +1622,8 @@ static void _rtl92e_free_tx_ring(struct net_device *dev, unsigned int prio)
        ring->desc = NULL;
 }
 
-static void rtl8192_hard_data_xmit(struct sk_buff *skb, struct net_device *dev,
-                           int rate)
+static void _rtl92e_hard_data_xmit(struct sk_buff *skb, struct net_device *dev,
+                                  int rate)
 {
        struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev);
        int ret;