]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8192e: Rename NicIFEnableNIC
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:28:08 +0000 (19:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:24:21 +0000 (21:24 -0700)
Use naming schema found in other rtlwifi devices.
Rename NicIFEnableNIC to rtl92e_enable_nic.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c
drivers/staging/rtl8192e/rtl8192e/rtl_core.c
drivers/staging/rtl8192e/rtl8192e/rtl_core.h

index a8c62b040d9d2a6e0c71fc24104560367c686033..3efa84d899554899889f8493c19746757f1733ca 100644 (file)
@@ -1441,7 +1441,7 @@ static bool SetRFPowerState8190(struct net_device *dev,
                                do {
                                        InitilizeCount--;
                                        priv->RegRfOff = false;
-                                       rtstatus = NicIFEnableNIC(dev);
+                                       rtstatus = rtl92e_enable_nic(dev);
                                } while (!rtstatus && (InitilizeCount > 0));
 
                                if (!rtstatus) {
index 9a10a48d175702aa1d29d9a5d0360d1ef3ac1e25..a1b6e1db4dd77e7d3103d409d3eeaea617b4e3b9 100644 (file)
@@ -2775,7 +2775,7 @@ static void rtl8192_pci_disconnect(struct pci_dev *pdev)
        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;
        struct r8192_priv *priv = rtllib_priv(dev);
index 788170f8913f002fa7bfba611eef2668f74f1b21..ce71270a62d435805c12d8b5f37f8eb83d09ed76 100644 (file)
@@ -614,7 +614,7 @@ u8 rtl819x_evm_dbtopercentage(char value);
 u8 rtl819x_query_rxpwrpercentage(char antpower);
 void rtl8192_record_rxdesc_forlateruse(struct rtllib_rx_stats *psrc_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_set_rf_state(struct net_device *dev,