Commit b74299cd authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: Rename rtl8192_irq_enable

Use naming schema found in other rtlwifi devices.
Rename rtl8192_irq_enable to rtl92e_irq_enable.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b7b50d65
...@@ -54,7 +54,7 @@ void rtl92e_start_beacon(struct net_device *dev) ...@@ -54,7 +54,7 @@ void rtl92e_start_beacon(struct net_device *dev)
BcnTimeCfg |= BcnCW<<BCN_TCFG_CW_SHIFT; BcnTimeCfg |= BcnCW<<BCN_TCFG_CW_SHIFT;
BcnTimeCfg |= BcnIFS<<BCN_TCFG_IFS; BcnTimeCfg |= BcnIFS<<BCN_TCFG_IFS;
write_nic_word(dev, BCN_TCFG, BcnTimeCfg); write_nic_word(dev, BCN_TCFG, BcnTimeCfg);
rtl8192_irq_enable(dev); rtl92e_irq_enable(dev);
} }
static void rtl8192e_update_msr(struct net_device *dev) static void rtl8192e_update_msr(struct net_device *dev)
...@@ -953,7 +953,7 @@ bool rtl92e_start_adapter(struct net_device *dev) ...@@ -953,7 +953,7 @@ bool rtl92e_start_adapter(struct net_device *dev)
priv->btxpower_tracking = false; priv->btxpower_tracking = false;
} }
} }
rtl8192_irq_enable(dev); rtl92e_irq_enable(dev);
end: end:
priv->being_init_adapter = false; priv->being_init_adapter = false;
return rtStatus; return rtStatus;
......
...@@ -300,7 +300,7 @@ static void rtl8192_tx_timeout(struct net_device *dev) ...@@ -300,7 +300,7 @@ static void rtl8192_tx_timeout(struct net_device *dev)
netdev_info(dev, "TXTIMEOUT"); netdev_info(dev, "TXTIMEOUT");
} }
void rtl8192_irq_enable(struct net_device *dev) void rtl92e_irq_enable(struct net_device *dev)
{ {
struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev); struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev);
...@@ -2800,7 +2800,7 @@ bool rtl92e_enable_nic(struct net_device *dev) ...@@ -2800,7 +2800,7 @@ bool rtl92e_enable_nic(struct net_device *dev)
RT_CLEAR_PS_LEVEL(pPSC, RT_RF_OFF_LEVL_HALT_NIC); RT_CLEAR_PS_LEVEL(pPSC, RT_RF_OFF_LEVL_HALT_NIC);
priv->bfirst_init = false; priv->bfirst_init = false;
rtl8192_irq_enable(dev); rtl92e_irq_enable(dev);
priv->bdisable_nic = false; priv->bdisable_nic = false;
RT_TRACE(COMP_PS, "<===========%s()\n", __func__); RT_TRACE(COMP_PS, "<===========%s()\n", __func__);
return init_status; return init_status;
......
...@@ -599,7 +599,7 @@ void rtl8192_hw_wakeup_wq(void *data); ...@@ -599,7 +599,7 @@ void rtl8192_hw_wakeup_wq(void *data);
void rtl8192_pci_resetdescring(struct net_device *dev); void rtl8192_pci_resetdescring(struct net_device *dev);
void rtl8192_SetWirelessMode(struct net_device *dev, u8 wireless_mode); void rtl8192_SetWirelessMode(struct net_device *dev, u8 wireless_mode);
void rtl8192_irq_enable(struct net_device *dev); void rtl92e_irq_enable(struct net_device *dev);
void rtl92e_config_rate(struct net_device *dev, u16 *rate_config); void rtl92e_config_rate(struct net_device *dev, u16 *rate_config);
void rtl92e_irq_disable(struct net_device *dev); void rtl92e_irq_disable(struct net_device *dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment