From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:13:33 +0000 (+0200) Subject: staging: rtl8192e: Rename rtl8192_sta_down X-Git-Tag: KARO-TX6UL-2015-11-03~34^2~1656 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2b19e2221464100647009144278ce60bb800ab51;p=karo-tx-linux.git staging: rtl8192e: Rename rtl8192_sta_down Use naming schema found in other rtlwifi devices. Rename rtl8192_sta_down to _rtl92e_sta_down. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c index fac7c1feb152..15078bb61d67 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -785,7 +785,7 @@ static int _rtl8192_sta_up(struct net_device *dev, bool is_silent_reset) return 0; } -static int rtl8192_sta_down(struct net_device *dev, bool shutdownrf) +static int _rtl92e_sta_down(struct net_device *dev, bool shutdownrf) { struct r8192_priv *priv = rtllib_priv(dev); unsigned long flags = 0; @@ -2232,7 +2232,7 @@ static int _rtl92e_close(struct net_device *dev) static int _rtl92e_down(struct net_device *dev, bool shutdownrf) { - if (rtl8192_sta_down(dev, shutdownrf) == -1) + if (_rtl92e_sta_down(dev, shutdownrf) == -1) return -1; return 0;