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

staging: rtl8192e: Rename NicIFEnableNIC

Use naming schema found in other rtlwifi devices.
Rename NicIFEnableNIC to rtl92e_enable_nic.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent af002dc6
...@@ -1441,7 +1441,7 @@ static bool SetRFPowerState8190(struct net_device *dev, ...@@ -1441,7 +1441,7 @@ static bool SetRFPowerState8190(struct net_device *dev,
do { do {
InitilizeCount--; InitilizeCount--;
priv->RegRfOff = false; priv->RegRfOff = false;
rtstatus = NicIFEnableNIC(dev); rtstatus = rtl92e_enable_nic(dev);
} while (!rtstatus && (InitilizeCount > 0)); } while (!rtstatus && (InitilizeCount > 0));
if (!rtstatus) { if (!rtstatus) {
......
...@@ -2775,7 +2775,7 @@ static void rtl8192_pci_disconnect(struct pci_dev *pdev) ...@@ -2775,7 +2775,7 @@ static void rtl8192_pci_disconnect(struct pci_dev *pdev)
RT_TRACE(COMP_DOWN, "wlan driver removed\n"); RT_TRACE(COMP_DOWN, "wlan driver removed\n");
} }
bool NicIFEnableNIC(struct net_device *dev) bool rtl92e_enable_nic(struct net_device *dev)
{ {
bool init_status = true; bool init_status = true;
struct r8192_priv *priv = rtllib_priv(dev); struct r8192_priv *priv = rtllib_priv(dev);
......
...@@ -614,7 +614,7 @@ u8 rtl819x_evm_dbtopercentage(char value); ...@@ -614,7 +614,7 @@ u8 rtl819x_evm_dbtopercentage(char value);
u8 rtl819x_query_rxpwrpercentage(char antpower); u8 rtl819x_query_rxpwrpercentage(char antpower);
void rtl8192_record_rxdesc_forlateruse(struct rtllib_rx_stats *psrc_stats, void rtl8192_record_rxdesc_forlateruse(struct rtllib_rx_stats *psrc_stats,
struct rtllib_rx_stats *ptarget_stats); struct rtllib_rx_stats *ptarget_stats);
bool NicIFEnableNIC(struct net_device *dev); bool rtl92e_enable_nic(struct net_device *dev);
bool rtl92e_disable_nic(struct net_device *dev); bool rtl92e_disable_nic(struct net_device *dev);
bool rtl92e_set_rf_state(struct net_device *dev, bool rtl92e_set_rf_state(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