mirror of https://gitee.com/openkylin/linux.git
staging: rtl8192e: Rename dm_EndSWFsync
Use naming schema found in other rtlwifi devices. Rename dm_EndSWFsync to _rtl92e_dm_end_sw_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
8a420d8f55
commit
f00afec854
|
@ -2305,7 +2305,7 @@ static void _rtl92e_dm_end_hw_fsync(struct net_device *dev)
|
||||||
rtl92e_writeb(dev, 0xc3b, 0x49);
|
rtl92e_writeb(dev, 0xc3b, 0x49);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void dm_EndSWFsync(struct net_device *dev)
|
static void _rtl92e_dm_end_sw_fsync(struct net_device *dev)
|
||||||
{
|
{
|
||||||
struct r8192_priv *priv = rtllib_priv(dev);
|
struct r8192_priv *priv = rtllib_priv(dev);
|
||||||
|
|
||||||
|
@ -2389,7 +2389,7 @@ static void _rtl92e_dm_check_fsync(struct net_device *dev)
|
||||||
priv->rtllib->fsync_state = HW_Fsync;
|
priv->rtllib->fsync_state = HW_Fsync;
|
||||||
break;
|
break;
|
||||||
case SW_Fsync:
|
case SW_Fsync:
|
||||||
dm_EndSWFsync(dev);
|
_rtl92e_dm_end_sw_fsync(dev);
|
||||||
dm_StartHWFsync(dev);
|
dm_StartHWFsync(dev);
|
||||||
priv->rtllib->fsync_state = HW_Fsync;
|
priv->rtllib->fsync_state = HW_Fsync;
|
||||||
break;
|
break;
|
||||||
|
@ -2428,7 +2428,7 @@ static void _rtl92e_dm_check_fsync(struct net_device *dev)
|
||||||
priv->rtllib->fsync_state = Default_Fsync;
|
priv->rtllib->fsync_state = Default_Fsync;
|
||||||
break;
|
break;
|
||||||
case SW_Fsync:
|
case SW_Fsync:
|
||||||
dm_EndSWFsync(dev);
|
_rtl92e_dm_end_sw_fsync(dev);
|
||||||
priv->rtllib->fsync_state = Default_Fsync;
|
priv->rtllib->fsync_state = Default_Fsync;
|
||||||
break;
|
break;
|
||||||
case Default_Fsync:
|
case Default_Fsync:
|
||||||
|
|
Loading…
Reference in New Issue