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

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

index 3d97b5ac5fcb51523847a331c011986a8a912d3c..f80c01d09d490f0c9dfc3fabb9640113c0057e4d 100644 (file)
@@ -166,7 +166,7 @@ struct drx_path_sel DM_RxPathSelTable;
 
 
 /*---------------------Define local function prototype-----------------------*/
-static void    dm_check_rate_adaptive(struct net_device *dev);
+static void _rtl92e_dm_check_rate_adaptive(struct net_device *dev);
 
 static void    dm_init_bandwidth_autoswitch(struct net_device *dev);
 static void    _rtl92e_dm_bandwidth_autoswitch(struct net_device *dev);
@@ -263,7 +263,7 @@ void rtl92e_dm_watchdog(struct net_device *dev)
        dm_check_txrateandretrycount(dev);
        _rtl92e_dm_check_edca_turbo(dev);
 
-       dm_check_rate_adaptive(dev);
+       _rtl92e_dm_check_rate_adaptive(dev);
        dm_dynamic_txpower(dev);
        dm_check_txpower_tracking(dev);
 
@@ -342,7 +342,7 @@ void rtl92e_init_adaptive_rate(struct net_device *dev)
 }
 
 
-static void dm_check_rate_adaptive(struct net_device *dev)
+static void _rtl92e_dm_check_rate_adaptive(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        struct rt_hi_throughput *pHTInfo = priv->rtllib->pHTInfo;
@@ -354,7 +354,7 @@ static void dm_check_rate_adaptive(struct net_device *dev)
 
        if (!priv->up) {
                RT_TRACE(COMP_RATE,
-                        "<---- dm_check_rate_adaptive(): driver is going to unload\n");
+                        "<---- _rtl92e_dm_check_rate_adaptive(): driver is going to unload\n");
                return;
        }