staging: rtl8192e: Rename rtl8192_config_rate
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:28:13 +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 rtl8192_config_rate to rtl92e_config_rate.

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 61b10694f4c71d75ef5eb06fc3b3b361b99a7464..a21da2f17774ba7da9501fced821d155c49ad703 100644 (file)
@@ -968,7 +968,7 @@ static void rtl8192_net_update(struct net_device *dev)
        u16 rate_config = 0;
 
        net = &priv->rtllib->current_network;
-       rtl8192_config_rate(dev, &rate_config);
+       rtl92e_config_rate(dev, &rate_config);
        priv->dot11CurrentPreambleMode = PREAMBLE_AUTO;
         priv->basic_rate = rate_config &= 0x15f;
        write_nic_dword(dev, BSSIDR, ((u32 *)net->bssid)[0]);
@@ -2151,7 +2151,7 @@ void rtl92e_update_ratr_table(struct net_device *dev)
        u16 rate_config = 0;
        u8 rate_index = 0;
 
-       rtl8192_config_rate(dev, &rate_config);
+       rtl92e_config_rate(dev, &rate_config);
        ratr_value = rate_config | *pMcsRate << 12;
        switch (ieee->mode) {
        case IEEE_A:
index a6937aa84cf00c72b02b8ef96f73de7d77525e3f..b13014a91f76a7b8942d2efb0c9a8156782cfe85 100644 (file)
@@ -575,7 +575,7 @@ static void rtl8192_stop_beacon(struct net_device *dev)
 {
 }
 
-void rtl8192_config_rate(struct net_device *dev, u16 *rate_config)
+void rtl92e_config_rate(struct net_device *dev, u16 *rate_config)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        struct rtllib_network *net;
index 65679846484c11e6b2b45b4f4ac6feb588c9bec4..fe70e39a6b4d1992fbebd59a7473432b7a5fd9cf 100644 (file)
@@ -602,7 +602,7 @@ void rtl8192_irq_disable(struct net_device *dev);
 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 rtl8192_config_rate(struct net_device *dev, u16 *rate_config);
+void rtl92e_config_rate(struct net_device *dev, u16 *rate_config);
 void rtl8192_irq_disable(struct net_device *dev);
 
 void rtl819x_UpdateRxPktTimeStamp(struct net_device *dev,
This page took 0.03097 seconds and 5 git commands to generate.