]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: rtl8192e: Rename rtl8192_GetHalfNmodeSupportByAPs
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:27:29 +0000 (19:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:24:12 +0000 (21:24 -0700)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_GetHalfNmodeSupportByAPs to rtl92e_is_halfn_supported_by_ap.

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

index 5fd414e8a9840a22621d2d55cabef121e6ddbc9f..301e7504e3fcd750ff625cccf3e4d4fd18ec1712 100644 (file)
@@ -2378,7 +2378,7 @@ bool rtl8192_GetNmodeSupportBySecCfg(struct net_device *dev)
        }
 }
 
-bool rtl8192_GetHalfNmodeSupportByAPs(struct net_device *dev)
+bool rtl92e_is_halfn_supported_by_ap(struct net_device *dev)
 {
        bool Reval;
        struct r8192_priv *priv = rtllib_priv(dev);
index 8551f1938114e37165804e1d10e1c53c0adf4bb7..5ad14afdc2a79e3288f0e811a70b02551028d8b2 100644 (file)
@@ -27,7 +27,7 @@
 
 #include "r8190P_def.h"
 
-bool rtl8192_GetHalfNmodeSupportByAPs(struct net_device *dev);
+bool rtl92e_is_halfn_supported_by_ap(struct net_device *dev);
 bool rtl8192_GetNmodeSupportBySecCfg(struct net_device *dev);
 bool rtl8192_HalTxCheckStuck(struct net_device *dev);
 bool rtl8192_HalRxCheckStuck(struct net_device *dev);
index 04c2f38312b28605ce2bb9c07d9cbbb1cb06bc17..df9e4cf9cc30c601261ee644714b12c338bdfa25 100644 (file)
@@ -888,7 +888,7 @@ static void rtl8192_init_priv_handler(struct net_device *dev)
 
        priv->rtllib->GetNmodeSupportBySecCfg = rtl8192_GetNmodeSupportBySecCfg;
        priv->rtllib->GetHalfNmodeSupportByAPsHandler =
-                                        rtl8192_GetHalfNmodeSupportByAPs;
+                                               rtl92e_is_halfn_supported_by_ap;
 
        priv->rtllib->SetHwRegHandler = rtl92e_set_reg;
        priv->rtllib->AllowAllDestAddrHandler = rtl92e_set_monitor_mode;