From: Mateusz Kulikowski Date: Sun, 20 Sep 2015 08:13:37 +0000 (+0200) Subject: staging: rtl8192e: Rename rtl8192_update_cap X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9a99c563d16314cf9814ca174e1da430c5491fc2;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8192e: Rename rtl8192_update_cap Use naming schema found in other rtlwifi devices. Rename rtl8192_update_cap to _rtl92e_update_cap. 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 17ec45bf38c6..54148e82409e 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -322,7 +322,7 @@ static void _rtl92e_set_chan(struct net_device *dev, short ch) priv->rf_set_chan(dev, priv->chan); } -static void rtl8192_update_cap(struct net_device *dev, u16 cap) +static void _rtl92e_update_cap(struct net_device *dev, u16 cap) { struct r8192_priv *priv = rtllib_priv(dev); struct rtllib_network *net = &priv->rtllib->current_network; @@ -392,7 +392,7 @@ static void _rtl92e_update_beacon(void *data) ieee->pHTInfo->bCurrentRT2RTLongSlotTime = net->bssht.bdRT2RTLongSlotTime; ieee->pHTInfo->RT2RT_HT_Mode = net->bssht.RT2RT_HT_Mode; - rtl8192_update_cap(dev, net->capability); + _rtl92e_update_cap(dev, net->capability); } static void _rtl92e_qos_activate(void *data)