staging: rtl8192e: Rename rtl8192_set_chan
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:13:32 +0000 (10:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:47 +0000 (03:33 +0200)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_set_chan to _rtl92e_set_chan.

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 35ccf4b90094ba0773d7a23ba7936f3471596a9f..fac7c1feb1529989130e6ac2249e6cf9e27482a4 100644 (file)
@@ -308,7 +308,7 @@ void rtl92e_irq_disable(struct net_device *dev)
        priv->irq_enabled = 0;
 }
 
-static void rtl8192_set_chan(struct net_device *dev, short ch)
+static void _rtl92e_set_chan(struct net_device *dev, short ch)
 {
        struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev);
 
@@ -853,7 +853,7 @@ static void _rtl92e_init_priv_handler(struct net_device *dev)
        struct r8192_priv *priv = rtllib_priv(dev);
 
        priv->rtllib->softmac_hard_start_xmit   = rtl8192_hard_start_xmit;
-       priv->rtllib->set_chan                  = rtl8192_set_chan;
+       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->check_nic_enough_desc     = rtl8192_check_nic_enough_desc;