]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
staging: rtl8192e: Rename rtl8192_handle_beacon
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 20 Sep 2015 08:13:47 +0000 (10:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:33:49 +0000 (03:33 +0200)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_handle_beacon to _rtl92e_handle_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 c3ef493061df7e3e6f6fd7c8529743f136f1236a..51747a30a0e43f0792b6ae62921100fd06d5429e 100644 (file)
@@ -461,9 +461,9 @@ static int _rtl92e_qos_handle_probe_response(struct r8192_priv *priv,
        return 0;
 }
 
-static int rtl8192_handle_beacon(struct net_device *dev,
-       struct rtllib_beacon *beacon,
-       struct rtllib_network *network)
+static int _rtl92e_handle_beacon(struct net_device *dev,
+                                struct rtllib_beacon *beacon,
+                                struct rtllib_network *network)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
 
@@ -858,7 +858,7 @@ static void _rtl92e_init_priv_handler(struct net_device *dev)
        priv->rtllib->softmac_data_hard_start_xmit = rtl8192_hard_data_xmit;
        priv->rtllib->check_nic_enough_desc     = rtl8192_check_nic_enough_desc;
        priv->rtllib->handle_assoc_response     = _rtl92e_handle_assoc_response;
-       priv->rtllib->handle_beacon             = rtl8192_handle_beacon;
+       priv->rtllib->handle_beacon             = _rtl92e_handle_beacon;
        priv->rtllib->SetWirelessMode           = rtl92e_set_wireless_mode;
        priv->rtllib->LeisurePSLeave            = rtl92e_leisure_ps_leave;
        priv->rtllib->SetBWModeHandler          = rtl92e_set_bw_mode;