staging: rtl8192e: Rename rtl8192_update_cap
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:13:37 +0000 (10:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:47 +0000 (03:33 +0200)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_update_cap to _rtl92e_update_cap.

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

index 17ec45bf38c6c346fbe8c1850438e2781079fbd1..54148e82409ee274f0d51eea8561680b1e31bcbc 100644 (file)
@@ -322,7 +322,7 @@ static void _rtl92e_set_chan(struct net_device *dev, short ch)
                priv->rf_set_chan(dev, priv->chan);
 }
 
-static void rtl8192_update_cap(struct net_device *dev, u16 cap)
+static void _rtl92e_update_cap(struct net_device *dev, u16 cap)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        struct rtllib_network *net = &priv->rtllib->current_network;
@@ -392,7 +392,7 @@ static void _rtl92e_update_beacon(void *data)
        ieee->pHTInfo->bCurrentRT2RTLongSlotTime =
                 net->bssht.bdRT2RTLongSlotTime;
        ieee->pHTInfo->RT2RT_HT_Mode = net->bssht.RT2RT_HT_Mode;
-       rtl8192_update_cap(dev, net->capability);
+       _rtl92e_update_cap(dev, net->capability);
 }
 
 static void _rtl92e_qos_activate(void *data)