staging: rtl8192e: Rename dm_StartHWFsync
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:20:05 +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_StartHWFsync to _rtl92e_dm_start_hw_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 eeb85943a7ab63b963baa5102e5727cc94cacef9..92f3f7018337f20704abf574ac73590fa86a9275 100644 (file)
@@ -2280,7 +2280,7 @@ static void _rtl92e_dm_fsync_timer_callback(unsigned long data)
                 priv->bswitch_fsync);
 }
 
-static void dm_StartHWFsync(struct net_device *dev)
+static void _rtl92e_dm_start_hw_fsync(struct net_device *dev)
 {
        u8 rf_timing = 0x77;
        struct r8192_priv *priv = rtllib_priv(dev);
@@ -2384,12 +2384,12 @@ static void _rtl92e_dm_check_fsync(struct net_device *dev)
                if (priv->rtllib->bfsync_enable == 0) {
                        switch (priv->rtllib->fsync_state) {
                        case Default_Fsync:
-                               dm_StartHWFsync(dev);
+                               _rtl92e_dm_start_hw_fsync(dev);
                                priv->rtllib->fsync_state = HW_Fsync;
                                break;
                        case SW_Fsync:
                                _rtl92e_dm_end_sw_fsync(dev);
-                               dm_StartHWFsync(dev);
+                               _rtl92e_dm_start_hw_fsync(dev);
                                priv->rtllib->fsync_state = HW_Fsync;
                                break;
                        case HW_Fsync: