From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:19:23 +0000 (+0200) Subject: staging: rtl8192e: Rename r8192_get_wireless_stats X-Git-Tag: firefly_0821_release~176^2~802^2~1570 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e830e0dc455625353844154f7d53f391467c16fc;p=firefly-linux-kernel-4.4.55.git staging: rtl8192e: Rename r8192_get_wireless_stats Use naming schema found in other rtlwifi devices. Rename r8192_get_wireless_stats to _rtl92e_get_wireless_stats. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c index 6bcc6362b5dc..4bbb594245a3 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c @@ -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, };