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

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

index 6bcc6362b5dcd06a9d1348572ea160703cc23b84..4bbb594245a341eecd4aa9ae542421cef380c270 100644 (file)
@@ -1219,7 +1219,7 @@ static iw_handler r8192_private_handler[] = {
        (iw_handler)_rtl92e_wx_get_promisc_mode,
 };
 
-static struct iw_statistics *r8192_get_wireless_stats(struct net_device *dev)
+static struct iw_statistics *_rtl92e_get_wireless_stats(struct net_device *dev)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
        struct rtllib_device *ieee = priv->rtllib;
@@ -1254,6 +1254,6 @@ const struct iw_handler_def r8192_wx_handlers_def = {
        .num_private = ARRAY_SIZE(r8192_private_handler),
        .num_private_args = sizeof(r8192_private_args) /
                            sizeof(struct iw_priv_args),
-       .get_wireless_stats = r8192_get_wireless_stats,
+       .get_wireless_stats = _rtl92e_get_wireless_stats,
        .private_args = (struct iw_priv_args *)r8192_private_args,
 };