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

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/r8192E_dev.h
drivers/staging/rtl8192e/rtl8192e/rtl_core.c

index 95e7b28..f96923c 100644 (file)
@@ -33,7 +33,7 @@
 static int WDCAPARA_ADD[] = {EDCAPARA_BE, EDCAPARA_BK, EDCAPARA_VI,
                             EDCAPARA_VO};
 
-void rtl8192e_start_beacon(struct net_device *dev)
+void rtl92e_start_beacon(struct net_device *dev)
 {
        struct r8192_priv *priv = (struct r8192_priv *)rtllib_priv(dev);
        struct rtllib_network *net = &priv->rtllib->current_network;
index 436d9d7..5b9b4df 100644 (file)
@@ -39,7 +39,7 @@ void rtl92e_enable_irq(struct net_device *dev);
 void rtl92e_disable_irq(struct net_device *dev);
 void rtl92e_clear_irq(struct net_device *dev);
 void rtl8192_InitializeVariables(struct net_device  *dev);
-void rtl8192e_start_beacon(struct net_device *dev);
+void rtl92e_start_beacon(struct net_device *dev);
 void rtl92e_set_reg(struct net_device *dev, u8 variable, u8 *val);
 void rtl8192_get_eeprom_size(struct net_device *dev);
 bool rtl92e_start_adapter(struct net_device *dev);
index 83b0cea..3a824b4 100644 (file)
@@ -879,7 +879,7 @@ static void rtl8192_init_priv_handler(struct net_device *dev)
        priv->rtllib->SetBWModeHandler          = rtl8192_SetBWMode;
        priv->rf_set_chan                       = rtl8192_phy_SwChnl;
 
-       priv->rtllib->start_send_beacons = rtl8192e_start_beacon;
+       priv->rtllib->start_send_beacons = rtl92e_start_beacon;
        priv->rtllib->stop_send_beacons = rtl8192_stop_beacon;
 
        priv->rtllib->sta_wake_up = rtl8192_hw_wakeup;