staging: rtl8192e: Rename rtl8192_irq_enable
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:28:15 +0000 (19:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:24:22 +0000 (21:24 -0700)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_irq_enable to rtl92e_irq_enable.

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

index 65769013f67799ae4015918fd09f6082344585a4..50067bb4e04e730446faa995b234cf2c6b2d5b00 100644 (file)
@@ -54,7 +54,7 @@ void rtl92e_start_beacon(struct net_device *dev)
        BcnTimeCfg |= BcnCW<<BCN_TCFG_CW_SHIFT;
        BcnTimeCfg |= BcnIFS<<BCN_TCFG_IFS;
        write_nic_word(dev, BCN_TCFG, BcnTimeCfg);
-       rtl8192_irq_enable(dev);
+       rtl92e_irq_enable(dev);
 }
 
 static void rtl8192e_update_msr(struct net_device *dev)
@@ -953,7 +953,7 @@ start:
                        priv->btxpower_tracking = false;
                }
        }
-       rtl8192_irq_enable(dev);
+       rtl92e_irq_enable(dev);
 end:
        priv->being_init_adapter = false;
        return rtStatus;
index d131c02566b966a57620843a9147919f164e4561..aeb6b90aef917625a61a5ad5190b9ba38784afc9 100644 (file)
@@ -300,7 +300,7 @@ static void rtl8192_tx_timeout(struct net_device *dev)
        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);
 
@@ -2800,7 +2800,7 @@ bool rtl92e_enable_nic(struct net_device *dev)
        RT_CLEAR_PS_LEVEL(pPSC, RT_RF_OFF_LEVL_HALT_NIC);
        priv->bfirst_init = false;
 
-       rtl8192_irq_enable(dev);
+       rtl92e_irq_enable(dev);
        priv->bdisable_nic = false;
        RT_TRACE(COMP_PS, "<===========%s()\n", __func__);
        return init_status;
index 1017a063cdd17a8cc7751dff92d837affe9b1502..f11fe8c7044dd3076965a9309918deb0674ccee9 100644 (file)
@@ -599,7 +599,7 @@ void rtl8192_hw_wakeup_wq(void *data);
 
 void rtl8192_pci_resetdescring(struct net_device *dev);
 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_irq_disable(struct net_device *dev);