staging: rtl8192e: Rename dm_ctstoself
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:19:46 +0000 (10:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:34:06 +0000 (03:34 +0200)
Use naming schema found in other rtlwifi devices.
Rename dm_ctstoself to _rtl92e_dm_cts_to_self.

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 37374d1d5c5b5e0f1631595f1f5bf10661d5e38d..88c1efc0617a84fd0d43eed0f18860048319039f 100644 (file)
@@ -215,7 +215,7 @@ static      void    dm_dynamic_txpower(struct net_device *dev);
 
 
 static void dm_send_rssi_tofw(struct net_device *dev);
-static void    dm_ctstoself(struct net_device *dev);
+static void _rtl92e_dm_cts_to_self(struct net_device *dev);
 /*---------------------------Define function prototype------------------------*/
 
 void rtl92e_dm_init(struct net_device *dev)
@@ -274,7 +274,7 @@ void rtl92e_dm_watchdog(struct net_device *dev)
        _rtl92e_dm_check_fsync(dev);
 
        dm_send_rssi_tofw(dev);
-       dm_ctstoself(dev);
+       _rtl92e_dm_cts_to_self(dev);
 }
 
 static void _rtl92e_dm_check_ac_dc_power(struct net_device *dev)
@@ -1800,7 +1800,7 @@ static void dm_init_ctstoself(struct net_device *dev)
        priv->rtllib->bCTSToSelfEnable = true;
 }
 
-static void dm_ctstoself(struct net_device *dev)
+static void _rtl92e_dm_cts_to_self(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv((struct net_device *)dev);
        struct rt_hi_throughput *pHTInfo = priv->rtllib->pHTInfo;