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

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 92f3f70..3576ae1 100644 (file)
@@ -2323,7 +2323,7 @@ static void _rtl92e_dm_end_sw_fsync(struct net_device *dev)
        rtl92e_writel(dev, rOFDM0_RxDetector2, 0x465c52cd);
 }
 
-static void dm_StartSWFsync(struct net_device *dev)
+static void _rtl92e_dm_start_sw_fsync(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        u32                     rateIndex;
@@ -2399,12 +2399,12 @@ static void _rtl92e_dm_check_fsync(struct net_device *dev)
                } else {
                        switch (priv->rtllib->fsync_state) {
                        case Default_Fsync:
-                               dm_StartSWFsync(dev);
+                               _rtl92e_dm_start_sw_fsync(dev);
                                priv->rtllib->fsync_state = SW_Fsync;
                                break;
                        case HW_Fsync:
                                _rtl92e_dm_end_hw_fsync(dev);
-                               dm_StartSWFsync(dev);
+                               _rtl92e_dm_start_sw_fsync(dev);
                                priv->rtllib->fsync_state = SW_Fsync;
                                break;
                        case SW_Fsync: