staging: rtl8192e: Rename dm_StartHWFsync
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>
This commit is contained in:
parent
500344fdc2
commit
22b5e8cd71
|
@ -2280,7 +2280,7 @@ static void _rtl92e_dm_fsync_timer_callback(unsigned long data)
|
||||||
priv->bswitch_fsync);
|
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;
|
u8 rf_timing = 0x77;
|
||||||
struct r8192_priv *priv = rtllib_priv(dev);
|
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) {
|
if (priv->rtllib->bfsync_enable == 0) {
|
||||||
switch (priv->rtllib->fsync_state) {
|
switch (priv->rtllib->fsync_state) {
|
||||||
case Default_Fsync:
|
case Default_Fsync:
|
||||||
dm_StartHWFsync(dev);
|
_rtl92e_dm_start_hw_fsync(dev);
|
||||||
priv->rtllib->fsync_state = HW_Fsync;
|
priv->rtllib->fsync_state = HW_Fsync;
|
||||||
break;
|
break;
|
||||||
case SW_Fsync:
|
case SW_Fsync:
|
||||||
_rtl92e_dm_end_sw_fsync(dev);
|
_rtl92e_dm_end_sw_fsync(dev);
|
||||||
dm_StartHWFsync(dev);
|
_rtl92e_dm_start_hw_fsync(dev);
|
||||||
priv->rtllib->fsync_state = HW_Fsync;
|
priv->rtllib->fsync_state = HW_Fsync;
|
||||||
break;
|
break;
|
||||||
case HW_Fsync:
|
case HW_Fsync:
|
||||||
|
|
Loading…
Reference in New Issue