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

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 0e7a768040b90440a14dfa5f25c8e346b58039a5..1994d56a0c50e4054ef4e70d81c9aad26a265fd9 100644 (file)
@@ -531,7 +531,7 @@ static int rtl8192_handle_assoc_response(struct net_device *dev,
        return 0;
 }
 
-static void rtl8192_prepare_beacon(struct r8192_priv *priv)
+static void _rtl92e_prepare_beacon(struct r8192_priv *priv)
 {
        struct net_device *dev = priv->rtllib->dev;
        struct sk_buff *pskb = NULL, *pnewskb = NULL;
@@ -1030,7 +1030,7 @@ static void _rtl92e_init_priv_task(struct net_device *dev)
                     (void(*)(unsigned long))_rtl92e_irq_tx_tasklet,
                     (unsigned long)priv);
        tasklet_init(&priv->irq_prepare_beacon_tasklet,
-                    (void(*)(unsigned long))rtl8192_prepare_beacon,
+                    (void(*)(unsigned long))_rtl92e_prepare_beacon,
                     (unsigned long)priv);
 }